diff options
Diffstat (limited to 'Lib/test/test_set.py')
| -rw-r--r-- | Lib/test/test_set.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index 499406f..d38a675 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -221,7 +221,7 @@ class TestJointOps(unittest.TestCase):          self.failIf(set('cbs').issuperset('a'))      def test_pickling(self): -        for i in (0, 1, 2): +        for i in range(pickle.HIGHEST_PROTOCOL + 1):              p = pickle.dumps(self.s, i)              dup = pickle.loads(p)              self.assertEqual(self.s, dup, "%s != %s" % (self.s, dup))  | 
