diff options
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -310,19 +310,7 @@ class my_test(Command): os.environ["PYTHONPATH"] = self.build_platlib pytest = self.find_pytest_path() - - # Run the normal tests. - subprocess.check_call([pytest, "-m", "not separate_process"]) - - # Run the tests that require their own process. - testlist = subprocess.run( - [pytest, "--collect-only", "--quiet", "-m", "separate_process"], - check=True, stdout=subprocess.PIPE) - testlist = testlist.stdout.decode("utf-8").splitlines() - testlist = filter( - lambda test: test and "tests collected" not in test, testlist) - for test in testlist: - subprocess.check_call([pytest, test]) + subprocess.check_call([pytest]) class my_clean(Command): def run(self): |