diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-22 07:55:06 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-22 08:15:27 -0500 |
commit | 2cc2254581dad57719b155b4d349d4f6fdd65d2d (patch) | |
tree | 003515a6bf523db634e0b8eb35e2ffacdecc1695 /tests/test_arcs.py | |
parent | d604c877e4652f43ff0b166fb3f3b625bedcb380 (diff) | |
download | python-coveragepy-git-2cc2254581dad57719b155b4d349d4f6fdd65d2d.tar.gz |
test: bpo46389 improvements on tip of cpython
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index 3d740ef1..850a0a38 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -1235,7 +1235,7 @@ class YieldTest(CoverageTest): ) @pytest.mark.xfail( - ((3, 11, 0, "alpha", 4) <= env.PYVERSION) and not env.C_TRACER, + ((3, 11, 0, "alpha", 4, 0) == env.PYVERSION) and not env.C_TRACER, reason="avoid a 3.11 bug: https://bugs.python.org/issue46389", ) def test_bug_324(self): @@ -1624,7 +1624,7 @@ class MiscArcTest(CoverageTest): assert self.stdout() == f"{n}\n" @pytest.mark.xfail( - ((3, 11, 0, "alpha", 4) <= env.PYVERSION) and not env.C_TRACER, + ((3, 11, 0, "alpha", 4, 0) == env.PYVERSION) and not env.C_TRACER, reason="avoid a 3.11 bug: https://bugs.python.org/issue46389", ) def test_partial_generators(self): |