diff --git a/tests/cloudpickle_test.py b/tests/cloudpickle_test.py index 00467e35..72aa132f 100644 --- a/tests/cloudpickle_test.py +++ b/tests/cloudpickle_test.py @@ -2507,12 +2507,18 @@ def inner_function(): inner_func = depickled_factory() assert inner_func() == _TEST_GLOBAL_VARIABLE + # TODO: remove this xfail when we drop support for Python 3.8. We don't + # plan to fix it because Python 3.8 is EOL. @pytest.mark.skipif( sys.version_info < (3, 9), reason="Can cause CPython 3.8 to segfault", ) - # TODO: remove this xfail when we drop support for Python 3.8. We don't - # plan to fix it because Python 3.8 is EOL. + @pytest.mark.skipif( + sys.version_info > (3, 14), + reason="Can cause CPython 3.14 interpreter to crash", + # This interpreter crash is reported upstream in + # https://github.com/python/cpython/issues/131543 + ) def test_recursion_during_pickling(self): class A: def __getattribute__(self, name):