Blame SOURCES/0001_disabling_boxed_xdist_test.patch
|
rdobuilder |
aa0fa8 |
--- a/tests/test_pytest_cov.py 2022-11-11 21:00:59.063033789 +0100
|
|
rdobuilder |
aa0fa8 |
+++ b/tests/test_pytest_cov.py 2022-11-11 21:22:22.097947660 +0100
|
|
rdobuilder |
aa0fa8 |
@@ -1554,8 +1554,9 @@
|
|
rdobuilder |
aa0fa8 |
'''
|
|
rdobuilder |
aa0fa8 |
|
|
rdobuilder |
aa0fa8 |
SCRIPT_SIMPLE_RESULT = '4 * 100%'
|
|
rdobuilder |
aa0fa8 |
-
|
|
rdobuilder |
aa0fa8 |
-
|
|
rdobuilder |
aa0fa8 |
+
|
|
rdobuilder |
aa0fa8 |
+@pytest.mark.skipif('tuple(map(int, xdist.__version__.split("."))) >= (2, 5, 0)',
|
|
rdobuilder |
aa0fa8 |
+ reason="--boxed option was removed in version 2.5.0")
|
|
rdobuilder |
aa0fa8 |
@pytest.mark.skipif('sys.platform == "win32"')
|
|
rdobuilder |
aa0fa8 |
def test_dist_boxed(testdir):
|
|
rdobuilder |
aa0fa8 |
script = testdir.makepyfile(SCRIPT_SIMPLE)
|