Skip to content

Commit

Permalink
TEST: skip test that crashes Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Jun 19, 2024
1 parent bbc3821 commit c32518c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/cloudpickle_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2479,6 +2479,12 @@ def inner_function():
inner_func = depickled_factory()
assert inner_func() == _TEST_GLOBAL_VARIABLE

@pytest.mark.xfailif(
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.
def test_recursion_during_pickling(self):
class A:
def __getattribute__(self, name):
Expand Down

0 comments on commit c32518c

Please sign in to comment.