Test installed six, not sources
This commit is contained in:
parent
b73e7e0908
commit
6d0ebda199
@ -115,10 +115,9 @@ Python 3 version.
|
|||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
# Ensure six module is used from the version being build
|
# Ensure six module is used from the version being installed
|
||||||
export PYTHONPATH=.
|
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-2 -rfsxX test_six.py
|
||||||
py.test-2 -rfsxX test_six.py
|
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py
|
||||||
py.test-3 -rfsxX test_six.py
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user