diff --git a/setup.py b/setup.py index 32a87ba3c..2324d54f3 100644 --- a/setup.py +++ b/setup.py @@ -135,7 +135,8 @@ class PyTest(test): def run_tests(self): # Import here because in module scope the eggs are not loaded. import pytest - errno = pytest.main(self.test_args) + test_args = [os.path.join(base_dir, "tests")] + errno = pytest.main(test_args) sys.exit(errno)