Skip to content

Commit

Permalink
disabling boxed test if version xdist newer than 2.5.0 pytest-dev#565
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Feb 19, 2023
1 parent ef8d658 commit b9a49ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_pytest_cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -1556,6 +1556,8 @@ def test_foo():
SCRIPT_SIMPLE_RESULT = '4 * 100%'


@pytest.mark.skipif('tuple(int(x) for x in 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):
script = testdir.makepyfile(SCRIPT_SIMPLE)
Expand Down

0 comments on commit b9a49ab

Please sign in to comment.