From: Serhiy Storchaka Date: Sat, 7 Nov 2015 18:04:46 +0000 (+0200) Subject: Issue #892902: Disable newly added tests in test_xpickle. X-Git-Tag: v2.7.11rc1~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d0a94df33a356a67d72c85ebf1aebb641e94e45;p=thirdparty%2FPython%2Fcpython.git Issue #892902: Disable newly added tests in test_xpickle. --- diff --git a/Lib/test/test_xpickle.py b/Lib/test/test_xpickle.py index 95ad4eba77fa..5cb7b25a54f9 100644 --- a/Lib/test/test_xpickle.py +++ b/Lib/test/test_xpickle.py @@ -169,6 +169,14 @@ class AbstractCompatTests(AbstractPickleTests): u2 = self.loads(p) self.assertEqual(u2, u) + # The ability to pickle recursive objects was added in 2.7.11 to fix + # a crash in CPickle (issue #892902). + test_recursive_list_subclass_and_inst = None + test_recursive_tuple_subclass_and_inst = None + test_recursive_dict_subclass_and_inst = None + test_recursive_set_and_inst = None + test_recursive_frozenset_and_inst = None + # Test backwards compatibility with Python 2.4. class CPicklePython24Compat(AbstractCompatTests):