]> git.pld-linux.org Git - packages/python3-requests.git/blob - python-requests-disable-xdist.patch
320036ab486bbca4d3c656083fed08d09d94feb5
[packages/python3-requests.git] / python-requests-disable-xdist.patch
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 @@ -33,12 +33,7 @@ class PyTest(TestCommand):
4  
5      def initialize_options(self):
6          TestCommand.initialize_options(self)
7 -        try:
8 -            from multiprocessing import cpu_count
9 -
10 -            self.pytest_args = ["-n", str(cpu_count()), "--boxed"]
11 -        except (ImportError, NotImplementedError):
12 -            self.pytest_args = ["-n", "1", "--boxed"]
13 +        self.pytest_args = []
14  
15      def finalize_options(self):
16          TestCommand.finalize_options(self)
17 @@ -68,7 +63,6 @@ test_requirements = [
18      "pytest-httpbin>=0.0.7",
19      "pytest-cov",
20      "pytest-mock",
21 -    "pytest-xdist",
22      "PySocks>=1.5.6, !=1.5.7",
23      "pytest>=3",
24  ]
25
This page took 0.02666 seconds and 2 git commands to generate.