mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
this should always work, i believe
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
@@ -17,10 +17,7 @@ class PyTest(TestCommand):
|
||||
|
||||
def initialize_options(self):
|
||||
TestCommand.initialize_options(self)
|
||||
try:
|
||||
self.pytest_args = ['-n', 'auto']
|
||||
except (ImportError, NotImplementedError):
|
||||
self.pytest_args = ['-n', '1', '--boxed']
|
||||
self.pytest_args = ['-n', 'auto']
|
||||
|
||||
def finalize_options(self):
|
||||
TestCommand.finalize_options(self)
|
||||
|
||||
Reference in New Issue
Block a user