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_userstring.py b/Lib/test/test_userstring.py
index 7e5df78..2625985 100755
--- a/Lib/test/test_userstring.py
+++ b/Lib/test/test_userstring.py
@@ -104,11 +104,11 @@
data.reverse()
L[start:stop:step] = data
s[start:stop:step] = "".join(data)
- self.assertEquals(s, "".join(L))
+ self.assertEqual(s, "".join(L))
del L[start:stop:step]
del s[start:stop:step]
- self.assertEquals(s, "".join(L))
+ self.assertEqual(s, "".join(L))
def test_immutable(self):
s = self.type2test("foobar")