#9424: Replace deprecated assert* methods in the Python test suite.
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index df480b8..cba6f13 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -385,8 +385,8 @@
self.assertRaises(IOError, inspect.findsource, co)
self.assertRaises(IOError, inspect.getsource, co)
linecache.cache[co.co_filename] = (1, None, lines, co.co_filename)
- self.assertEquals(inspect.findsource(co), (lines,0))
- self.assertEquals(inspect.getsource(co), lines[0])
+ self.assertEqual(inspect.findsource(co), (lines,0))
+ self.assertEqual(inspect.getsource(co), lines[0])
# Helper for testing classify_class_attrs.
def attrs_wo_objs(cls):