Skip to content

Commit 605d690

Browse files
Chediionelmc
authored andcommitted
disabling boxed test if version xdist newer than 2.5.0
1 parent 76fb2a6 commit 605d690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pytest_cov.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ def test_foo():
15741574
SCRIPT_SIMPLE_RESULT = '4 * 100%'
15751575

15761576

1577-
@pytest.mark.skipif('tuple(int(x) for x in xdist.__version__.split(".")) >= (2, 5, 0)',
1577+
@pytest.mark.skipif('tuple(map(int, xdist.__version__.split("."))) >= (2, 5, 0)',
15781578
reason="--boxed option was removed in version 2.5.0")
15791579
@pytest.mark.skipif('sys.platform == "win32"')
15801580
def test_dist_boxed(testdir):

0 commit comments

Comments
 (0)