Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions tests/cloudpickle_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down