summaryrefslogtreecommitdiff
path: root/test/test_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_common.py')
-rw-r--r--test/test_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_common.py b/test/test_common.py
index c6949656..7904b753 100644
--- a/test/test_common.py
+++ b/test/test_common.py
@@ -51,9 +51,9 @@ class XMLMixin():
n = self.find_one(parent, tag)
if attrib not in n.attrib:
self.fail("Attribute %s not found in %s" % (attrib, n))
- self.assertEquals(n.attrib[attrib], value)
+ self.assertEqual(n.attrib[attrib], value)
def check_text(self, parent, tag, value):
n = self.find_one(parent, tag)
- self.assertEquals(n.text, value)
+ self.assertEqual(n.text, value)