commit | 8a00eec2a8896ab2cdccbf428ab9cb22a9c34302 | [log] [tgz] |
---|---|---|
author | Michael Foord <fuzzyman@voidspace.org.uk> | Sat Nov 20 15:43:02 2010 +0000 |
committer | Michael Foord <fuzzyman@voidspace.org.uk> | Sat Nov 20 15:43:02 2010 +0000 |
tree | 92b7ada071cf744e8f52050eabd25a8d121efde8 | |
parent | 8ca6d9884bcbdd05fe270e75e10f51af614e22a2 [diff] |
Issue 10326: extend test for pickling of TestCase instances to ensure they can be unpickled too
diff --git a/Lib/unittest/test/test_case.py b/Lib/unittest/test/test_case.py index 444b58b..6aff90f 100644 --- a/Lib/unittest/test/test_case.py +++ b/Lib/unittest/test/test_case.py
@@ -1107,3 +1107,5 @@ # blew up prior to fix pickled_test = pickle.dumps(test, protocol=protocol) + unpickled_test = pickle.loads(pickled_test) + self.assertEqual(test, unpickled_test)