mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
Issue 5794: fix cPickle's unpickling of recursive tuples.
This commit is contained in:
parent
944f684ce6
commit
57bef68bc0
3 changed files with 24 additions and 10 deletions
|
@ -65,6 +65,11 @@ class cPickleFastPicklerTests(AbstractPickleTests):
|
|||
AbstractPickleTests.test_recursive_list,
|
||||
self)
|
||||
|
||||
def test_recursive_tuple(self):
|
||||
self.assertRaises(ValueError,
|
||||
AbstractPickleTests.test_recursive_tuple,
|
||||
self)
|
||||
|
||||
def test_recursive_inst(self):
|
||||
self.assertRaises(ValueError,
|
||||
AbstractPickleTests.test_recursive_inst,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue