]> git.pld-linux.org Git - packages/python3-requests.git/blame - python-requests-disable-xdist.patch
- try with tests, added reqs,disable-xdist patches, but one test fails
[packages/python3-requests.git] / python-requests-disable-xdist.patch
CommitLineData
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
3@@ -16,11 +16,7 @@
4
5 def initialize_options(self):
6 TestCommand.initialize_options(self)
7- try:
8- from multiprocessing import cpu_count
9- self.pytest_args = ['-n', str(cpu_count()), '--boxed']
10- except (ImportError, NotImplementedError):
11- self.pytest_args = ['-n', '1', '--boxed']
12+ self.pytest_args = []
13
14 def finalize_options(self):
15 TestCommand.finalize_options(self)
16@@ -52,7 +48,6 @@
17 'pytest-httpbin>=0.0.7',
18 'pytest-cov',
19 'pytest-mock',
20- 'pytest-xdist',
21 'PySocks>=1.5.6, !=1.5.7',
22 'pytest>=3'
23 ]
This page took 0.061687 seconds and 4 git commands to generate.