Commit 2fb1ac22 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Correct parsing of "./setup.py test --pytest-args ...".

parent e3a67c73
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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