From 644ac5a7deb3933224a5ff6863e5b3d98362c2a8 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 19 Jan 2022 19:00:26 -0500 Subject: refactor(test): use xfail for tests that fail on specific versions of Python --- tests/test_venv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_venv.py') diff --git a/tests/test_venv.py b/tests/test_venv.py index e4457315..050d467c 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.skipif((3, 11, 0, 'alpha', 3) <= env.PYVERSION[:5], reason="avoid 3.11 bug: bpo46028") +@pytest.mark.xfail((3, 11, 0, 'alpha', 3) <= env.PYVERSION[:5], reason="avoid 3.11 bug: bpo46028") class VirtualenvTest(CoverageTest): """Tests of virtualenv considerations.""" -- cgit v1.2.1