diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -527,7 +527,7 @@ else:
 
         def run_tests(self):
             import pytest
-            sys.exit(pytest.main(["--pyargs", "tests"]))
+            sys.exit(pytest.main([]))
 
 distutils_cmdclass["test"] = TestCommand
make 'setup.py test' collect tests outside the project's 'tests' folder