Commit b357fb7b authored by Michael Foord's avatar Michael Foord

Issue 10326: further extend test for unpickling to ensure type lookup...

Issue 10326: further extend test for unpickling to ensure type lookup mechanism works after unpickling
parent 8a00eec2
......@@ -1109,3 +1109,7 @@ test case
pickled_test = pickle.dumps(test, protocol=protocol)
unpickled_test = pickle.loads(pickled_test)
self.assertEqual(test, unpickled_test)
# exercise the TestCase instance in a way that will invoke
# the type equality lookup mechanism
unpickled_test.assertEqual(set(), set())
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment