#9424: Replace deprecated assert* methods in the Python test suite.
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 @@
         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"