summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-07 18:04:46 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-07 18:04:46 (GMT)
commit8d0a94df33a356a67d72c85ebf1aebb641e94e45 (patch)
tree3e3796b9364edbf15a57a72ee5d6244cc800730d
parentda87e45add0d8a4834a43a57ba26e6c6d74a7ab8 (diff)
downloadcpython-8d0a94df33a356a67d72c85ebf1aebb641e94e45.zip
cpython-8d0a94df33a356a67d72c85ebf1aebb641e94e45.tar.gz
cpython-8d0a94df33a356a67d72c85ebf1aebb641e94e45.tar.bz2
Issue #892902: Disable newly added tests in test_xpickle.
-rw-r--r--Lib/test/test_xpickle.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/test/test_xpickle.py b/Lib/test/test_xpickle.py
index 95ad4eb..5cb7b25 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):