From 020dbd3efe6bfb31bcc33c34d6e486cd8219d139 Mon Sep 17 00:00:00 2001 From: Robert Kuska Date: Fri, 6 Nov 2015 10:22:25 +0100 Subject: [PATCH] Enable tests again --- python-pytest-cov.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index e6a275a..5411a06 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -76,12 +76,12 @@ rm -rf *.egg-info %py2_install -#%check -#PYTHONPATH=%{buildroot}%{python2_sitelib}:$PWD/tests py.test-%{python2_version} -vv -# -#%if 0%{?with_python3} -#PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version} -vv -#%endif # with_python3 +%check +PYTHONPATH=%{buildroot}%{python2_sitelib}:$PWD/tests py.test-%{python2_version} -vv + +%if 0%{?with_python3} +PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version} -vv +%endif # with_python3 %files