diff --git a/setup.py b/setup.py index 2782b1c7..c50d4d85 100755 --- a/setup.py +++ b/setup.py @@ -18,8 +18,7 @@ class PyTest(TestCommand): def initialize_options(self): TestCommand.initialize_options(self) try: - from multiprocessing import cpu_count - self.pytest_args = ['-n', str(cpu_count()), '--boxed'] + self.pytest_args = ['-n', 'auto'] except (ImportError, NotImplementedError): self.pytest_args = ['-n', '1', '--boxed']