diff --git a/setup.py b/setup.py index 19e9a25a..13f5cae2 100755 --- a/setup.py +++ b/setup.py @@ -82,9 +82,12 @@ tests_require = [ class PyTest(TestCommand): + def initialize_options(self): + TestCommand.initialize_options(self) + self.test_suite = 'tests' + def finalize_options(self): TestCommand.finalize_options(self) - self.test_suite = True def run_tests(self): # import here, cause outside the eggs aren't loaded