Skip to content

Commit

Permalink
disabling boxed test if version xdist newer than 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Chedi authored and ionelmc committed May 21, 2023
1 parent 76fb2a6 commit 605d690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pytest_cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ def test_foo():
SCRIPT_SIMPLE_RESULT = '4 * 100%'


@pytest.mark.skipif('tuple(int(x) for x in xdist.__version__.split(".")) >= (2, 5, 0)',
@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('sys.platform == "win32"')
def test_dist_boxed(testdir):
Expand Down

0 comments on commit 605d690

Please sign in to comment.