]>
Commit | Line | Data |
---|---|---|
23351644 JB |
1 | --- requests-2.25.1/setup.py.orig 2021-01-24 18:27:39.728966387 +0100 |
2 | +++ requests-2.25.1/setup.py 2021-01-24 18:29:53.264909627 +0100 | |
594bc38a | 3 | @@ -33,12 +33,7 @@ class PyTest(TestCommand): |
23351644 JB |
4 | |
5 | def initialize_options(self): | |
6 | TestCommand.initialize_options(self) | |
7 | - try: | |
8 | - from multiprocessing import cpu_count | |
594bc38a AM |
9 | - |
10 | - self.pytest_args = ["-n", str(cpu_count()), "--boxed"] | |
23351644 | 11 | - except (ImportError, NotImplementedError): |
594bc38a | 12 | - self.pytest_args = ["-n", "1", "--boxed"] |
23351644 JB |
13 | + self.pytest_args = [] |
14 | ||
15 | def finalize_options(self): | |
16 | TestCommand.finalize_options(self) | |
594bc38a | 17 | @@ -68,7 +63,6 @@ test_requirements = [ |
3705b376 | 18 | "pytest-httpbin>=2.0.0", |
594bc38a AM |
19 | "pytest-cov", |
20 | "pytest-mock", | |
21 | - "pytest-xdist", | |
22 | "PySocks>=1.5.6, !=1.5.7", | |
23 | "pytest>=3", | |
23351644 | 24 | ] |
594bc38a | 25 |