Issue 10326: extend test for pickling of TestCase instances to ensure they can be unpickled too

This commit is contained in:
Michael Foord 2010-11-20 15:43:02 +00:00
parent 8ca6d9884b
commit 8a00eec2a8
1 changed files with 2 additions and 0 deletions

View File

@ -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)