summaryrefslogtreecommitdiff
path: root/test/test_common.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2017-12-15 10:01:27 -0500
committerXavier Claessens <xavier.claessens@collabora.com>2018-03-27 15:22:29 -0400
commit029a2a8d3b7e2024941792ac94d03d5dcb55a406 (patch)
treee7ac7296ef9776680407626b9ec663ac9979b482 /test/test_common.py
parent3c9de69112c8158877e4b0060ef0ab89c083f376 (diff)
python3: Run 2to3 script to conver the whole codebase
This is only the raw output of the script, no manual editing. The code is now python3 only. https://bugzilla.gnome.org/show_bug.cgi?id=733067
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)