[Git][reproducible-builds/diffoscope][master] Correct parsing of "./setup.py test --pytest-args ...".

Chris Lamb gitlab at salsa.debian.org
Sun Apr 19 15:45:57 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
2fb1ac22 by Chris Lamb at 2020-04-19T16:45:32+01:00
Correct parsing of "./setup.py test --pytest-args ...".

- - - - -


1 changed file:

- setup.py


Changes:

=====================================
setup.py
=====================================
@@ -23,6 +23,8 @@ class PyTest(TestCommand):
 
     def finalize_options(self):
         super().finalize_options()
+        if self.pytest_args:
+            self.pytest_args = [self.pytest_args]
 
     def run_tests(self):
         # Inline import, otherwise the eggs aren't loaded



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/2fb1ac22d13bebe6e52c08d4b1571ef173715e78

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/2fb1ac22d13bebe6e52c08d4b1571ef173715e78
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200419/1430a8e9/attachment.htm>


More information about the rb-commits mailing list