summaryrefslogtreecommitdiff
path: root/tests/test_venv.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-01-19 19:00:26 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-01-19 19:00:26 -0500
commit644ac5a7deb3933224a5ff6863e5b3d98362c2a8 (patch)
tree8460a97e584ed57c1926ce73dcc390984e1c6429 /tests/test_venv.py
parentdb7825a33067e5c0873250488ba0543968765abb (diff)
downloadpython-coveragepy-git-644ac5a7deb3933224a5ff6863e5b3d98362c2a8.tar.gz
refactor(test): use xfail for tests that fail on specific versions of Python
Diffstat (limited to 'tests/test_venv.py')
-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 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."""