diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 366dd54..39a6a3f 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -64,7 +64,7 @@ It also handles file finders for the suppertes scms. %if %{with tests} %check PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)' -PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python3_version} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)' +PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)' %endif %files -n python2-%{srcname}