Skip to content

Commit c025de7

Browse files
authored
MTN skip test with recursion limit on python3.14 due to segfault on OSX (#561)
1 parent 7ba9e61 commit c025de7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: tests/cloudpickle_test.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -2507,12 +2507,18 @@ def inner_function():
25072507
inner_func = depickled_factory()
25082508
assert inner_func() == _TEST_GLOBAL_VARIABLE
25092509

2510+
# TODO: remove this xfail when we drop support for Python 3.8. We don't
2511+
# plan to fix it because Python 3.8 is EOL.
25102512
@pytest.mark.skipif(
25112513
sys.version_info < (3, 9),
25122514
reason="Can cause CPython 3.8 to segfault",
25132515
)
2514-
# TODO: remove this xfail when we drop support for Python 3.8. We don't
2515-
# plan to fix it because Python 3.8 is EOL.
2516+
@pytest.mark.skipif(
2517+
sys.version_info > (3, 14),
2518+
reason="Can cause CPython 3.14 interpreter to crash",
2519+
# This interpreter crash is reported upstream in
2520+
# https://github.com/python/cpython/issues/131543
2521+
)
25162522
def test_recursion_during_pickling(self):
25172523
class A:
25182524
def __getattribute__(self, name):

0 commit comments

Comments
 (0)