#4 Test installed six, not sources
Merged 5 years ago by churchyard. Opened 5 years ago by churchyard.
rpms/ churchyard/python-six path  into  master

file modified
+3 -4
@@ -115,10 +115,9 @@ 

  

  %if %{with tests}

  %check

- # Ensure six module is used from the version being build

- export PYTHONPATH=.

- py.test-2 -rfsxX test_six.py

- py.test-3 -rfsxX test_six.py

+ # Ensure six module is used from the version being installed

+ PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-2 -rfsxX test_six.py

+ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py

  %endif

  

  

This doesn't matter now because both pass, but can catch problems.

LGTM, should not need new build as it's enhancing building package.

Pull-Request has been merged by churchyard

5 years ago
Metadata