mirror of
https://github.com/python/cpython.git
synced 2026-06-17 16:40:43 -04:00
Issue 10326: extend test for pickling of TestCase instances to ensure they can be unpickled too
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user