From 7b095c84ae521b14058d7d520ef36372849063a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= Date: Sun, 21 May 2023 16:03:34 +0300 Subject: [PATCH] Skip starting from xdist 3.0.2 (where boxed was removed). Co-authored-by: Hugo van Kemenade --- tests/test_pytest_cov.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py index f23adbdc..84f959fb 100644 --- a/tests/test_pytest_cov.py +++ b/tests/test_pytest_cov.py @@ -1574,8 +1574,8 @@ def test_foo(): SCRIPT_SIMPLE_RESULT = '4 * 100%' -@pytest.mark.skipif('tuple(map(int, xdist.__version__.split("."))) >= (2, 5, 0)', - reason="--boxed option was removed in version 2.5.0") +@pytest.mark.skipif('tuple(map(int, xdist.__version__.split("."))) >= (3, 0, 2)', + reason="--boxed option was removed in version 3.0.2") @pytest.mark.skipif('sys.platform == "win32"') def test_dist_boxed(testdir): script = testdir.makepyfile(SCRIPT_SIMPLE)