diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py index dde64f8f..f23adbdc 100644 --- a/tests/test_pytest_cov.py +++ b/tests/test_pytest_cov.py @@ -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):