Skip to content

Commit

Permalink
Skip starting from xdist 3.0.2 (where boxed was removed).
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
ionelmc and hugovk committed May 21, 2023
1 parent 605d690 commit 7b095c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pytest_cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7b095c8

Please sign in to comment.