summaryrefslogtreecommitdiff
path: root/Lib/test/test_range.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-11-20 19:04:17 +0000
committerEzio Melotti <ezio.melotti@gmail.com>2010-11-20 19:04:17 +0000
commitb3aedd48621ed9d33b5f42f946b256bce4a50673 (patch)
tree2297c8ebce1b09621e1d98096c1603896d9a0f0c /Lib/test/test_range.py
parentb8bc439b2093add9b313bcca2cc507a2d0e87764 (diff)
downloadcpython-git-b3aedd48621ed9d33b5f42f946b256bce4a50673.tar.gz
#9424: Replace deprecated assert* methods in the Python test suite.
Diffstat (limited to 'Lib/test/test_range.py')
-rw-r--r--Lib/test/test_range.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_range.py b/Lib/test/test_range.py
index 812b73d775..914dd4c50d 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"