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_xmllib.py b/Lib/test/test_xmllib.py
index 68b883a..966978a 100644
--- a/Lib/test/test_xmllib.py
+++ b/Lib/test/test_xmllib.py
@@ -36,9 +36,9 @@
h.feed(nsdoc)
h.close()
# The default namespace applies to elements...
- self.assertEquals(h.name, "URI foo")
+ self.assertEqual(h.name, "URI foo")
# but not to attributes
- self.assertEquals(h.attr, {'attr':'val'})
+ self.assertEqual(h.attr, {'attr':'val'})
def test_main():