]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #892902: Disable newly added tests in test_xpickle.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 7 Nov 2015 18:04:46 +0000 (20:04 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 7 Nov 2015 18:04:46 +0000 (20:04 +0200)
Lib/test/test_xpickle.py

index 95ad4eba77fa6d129986bc68d7278b44cf8bac37..5cb7b25a54f934bdb0e451f7ed4ba6ec90b76f7c 100644 (file)
@@ -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):