Skip to content

Commit 3fbc676

Browse files
committed
XFail these on 3.12, ref cython/cython#5470
1 parent f51275f commit 3fbc676

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/test_tracer.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,10 @@ def foo():
842842
assert ('return', __name__, 'foo', 0) in calls
843843

844844

845-
@pytest.mark.xfail(reason="TODO: Check what's going on with Cython 3.0")
845+
@pytest.mark.xfail(
846+
sys.version_info.major == 3 and sys.version_info.minor == 12,
847+
reason="broken on 3.12, see https://github.com/cython/cython/issues/5470",
848+
)
846849
def test_source_cython(LineMatcher):
847850
pytest.importorskip('sample5')
848851
calls = []
@@ -884,6 +887,10 @@ def foo():
884887
)
885888

886889

890+
@pytest.mark.xfail(
891+
sys.version_info.major == 3 and sys.version_info.minor == 12,
892+
reason="broken on 3.12, see https://github.com/cython/cython/issues/5470",
893+
)
887894
def test_fullsource_cython(LineMatcher):
888895
pytest.importorskip('sample5')
889896
calls = []

0 commit comments

Comments
 (0)