summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_venv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_venv.py b/tests/test_venv.py
index 050d467c..c90ac76a 100644
--- a/tests/test_venv.py
+++ b/tests/test_venv.py
@@ -160,7 +160,7 @@ def coverage_command_fixture(request):
# https://bugs.python.org/issue46028
-@pytest.mark.xfail((3, 11, 0, 'alpha', 3) <= env.PYVERSION[:5], reason="avoid 3.11 bug: bpo46028")
+@pytest.mark.xfail((3, 11, 0, 'alpha', 4, 0) == env.PYVERSION, reason="avoid 3.11 bug: bpo46028")
class VirtualenvTest(CoverageTest):
"""Tests of virtualenv considerations."""