--- a/tests/test_pytest_cov.py	2022-11-11 21:00:59.063033789 +0100
+++ b/tests/test_pytest_cov.py	2022-11-11 21:22:22.097947660 +0100
@@ -1554,8 +1554,9 @@
 '''
 
 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('sys.platform == "win32"')
 def test_dist_boxed(testdir):
     script = testdir.makepyfile(SCRIPT_SIMPLE)
