remove --box from setup.py

This commit is contained in:
Prodesire 2018-01-04 23:28:06 +08:00
parent 3a4ab821fe
commit 45cefd801e
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@ class PyTest(TestCommand):
TestCommand.initialize_options(self) TestCommand.initialize_options(self)
try: try:
from multiprocessing import cpu_count from multiprocessing import cpu_count
self.pytest_args = ['-n', str(cpu_count()), '--boxed'] self.pytest_args = ['-n', str(cpu_count())]
except (ImportError, NotImplementedError): except (ImportError, NotImplementedError):
self.pytest_args = ['-n', '1', '--boxed'] self.pytest_args = ['-n', '1']
def finalize_options(self): def finalize_options(self):
TestCommand.finalize_options(self) TestCommand.finalize_options(self)