diff options
Diffstat (limited to 'Lib/test/test_range.py')
-rw-r--r-- | Lib/test/test_range.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_range.py b/Lib/test/test_range.py index 812b73d..914dd4c 100644 --- a/Lib/test/test_range.py +++ b/Lib/test/test_range.py @@ -101,8 +101,8 @@ class RangeTest(unittest.TestCase): for proto in range(pickle.HIGHEST_PROTOCOL + 1): for t in testcases: r = range(*t) - self.assertEquals(list(pickle.loads(pickle.dumps(r, proto))), - list(r)) + self.assertEqual(list(pickle.loads(pickle.dumps(r, proto))), + list(r)) def test_odd_bug(self): # This used to raise a "SystemError: NULL result without error" |