Commit 5013bd94 authored by Tim Peters's avatar Tim Peters

test_newobj_generic(): Use the global protocols vector instead of a

hardcoded list.
parent 22e71711
......@@ -570,7 +570,7 @@ class AbstractPickleTests(unittest.TestCase):
self.assertEqual(x.__dict__, y.__dict__)
def test_newobj_generic(self):
for proto in [0, 1, 2]:
for proto in protocols:
for C in myclasses:
B = C.__base__
x = C(C.sample)
......
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