mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue 10326: extend test for pickling of TestCase instances to ensure they can be unpickled too
This commit is contained in:
parent
8ca6d9884b
commit
8a00eec2a8
1 changed files with 2 additions and 0 deletions
|
@ -1107,3 +1107,5 @@ test case
|
|||
|
||||
# blew up prior to fix
|
||||
pickled_test = pickle.dumps(test, protocol=protocol)
|
||||
unpickled_test = pickle.loads(pickled_test)
|
||||
self.assertEqual(test, unpickled_test)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue