summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/pickletester.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py
index 6c621e5..0d2441a 100644
--- a/Lib/test/pickletester.py
+++ b/Lib/test/pickletester.py
@@ -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)