Only run Python 2 tests %{with python2}
This commit is contained in:
parent
8081338488
commit
6ce0b995a2
@ -82,7 +82,7 @@ Python 3 version.
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%if 0%{?fedora} < 32
|
||||
%if %{with python2} && 0%{?fedora} < 32
|
||||
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-2 -rfsxX test_six.py
|
||||
%endif
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py
|
||||
|
Loading…
Reference in New Issue
Block a user