summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xmllib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_xmllib.py')
-rw-r--r--Lib/test/test_xmllib.py4
1 files changed, 2 insertions, 2 deletions
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 @@ class XMLParserTestCase(unittest.TestCase):
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():