Skip to content

Commit 2cc2254

Browse files
committed
test: bpo46389 improvements on tip of cpython
1 parent d604c87 commit 2cc2254

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_arcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ def run():
12351235
)
12361236

12371237
@pytest.mark.xfail(
1238-
((3, 11, 0, "alpha", 4) <= env.PYVERSION) and not env.C_TRACER,
1238+
((3, 11, 0, "alpha", 4, 0) == env.PYVERSION) and not env.C_TRACER,
12391239
reason="avoid a 3.11 bug: https://bugs.python.org/issue46389",
12401240
)
12411241
def test_bug_324(self):
@@ -1624,7 +1624,7 @@ def test_pathologically_long_code_object(self, n):
16241624
assert self.stdout() == f"{n}\n"
16251625

16261626
@pytest.mark.xfail(
1627-
((3, 11, 0, "alpha", 4) <= env.PYVERSION) and not env.C_TRACER,
1627+
((3, 11, 0, "alpha", 4, 0) == env.PYVERSION) and not env.C_TRACER,
16281628
reason="avoid a 3.11 bug: https://bugs.python.org/issue46389",
16291629
)
16301630
def test_partial_generators(self):

0 commit comments

Comments
 (0)