Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424: Replace deprecated assert* methods in the Python test suite.
........
diff --git a/Lib/test/test_slice.py b/Lib/test/test_slice.py
index b9208e7..3304d6b 100644
--- a/Lib/test/test_slice.py
+++ b/Lib/test/test_slice.py
@@ -117,7 +117,7 @@
x = X()
with test_support.check_py3k_warnings():
x[1:2] = 42
- self.assertEquals(tmp, [(1, 2, 42)])
+ self.assertEqual(tmp, [(1, 2, 42)])
def test_pickle(self):
s = slice(10, 20, 3)