Skip to content

Commit b9a49ab

Browse files
committed
disabling boxed test if version xdist newer than 2.5.0 pytest-dev#565
1 parent ef8d658 commit b9a49ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_pytest_cov.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,6 +1556,8 @@ def test_foo():
15561556
SCRIPT_SIMPLE_RESULT = '4 * 100%'
15571557

15581558

1559+
@pytest.mark.skipif('tuple(int(x) for x in xdist.__version__.split(".")) >= (2, 5, 0)',
1560+
reason="--boxed option was removed in version 2.5.0")
15591561
@pytest.mark.skipif('sys.platform == "win32"')
15601562
def test_dist_boxed(testdir):
15611563
script = testdir.makepyfile(SCRIPT_SIMPLE)

0 commit comments

Comments
 (0)