summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_xml_test_utils.py
diff options
context:
space:
mode:
authorThomas Amland <thomas.amland@gmail.com>2016-01-19 13:31:01 (GMT)
committerThomas Amland <thomas.amland@gmail.com>2016-01-19 13:41:20 (GMT)
commitd404af0d987a9c38cafce82a7e26ec8468c88361 (patch)
treedb383749df456c1019b514982213f3fc12ab9008 /googletest/test/gtest_xml_test_utils.py
parent13206d6f53aaff844f2d3595a01ac83a29e383db (diff)
downloadgoogletest-d404af0d987a9c38cafce82a7e26ec8468c88361.zip
googletest-d404af0d987a9c38cafce82a7e26ec8468c88361.tar.gz
googletest-d404af0d987a9c38cafce82a7e26ec8468c88361.tar.bz2
add python 3 support to tests
Diffstat (limited to 'googletest/test/gtest_xml_test_utils.py')
-rwxr-xr-xgoogletest/test/gtest_xml_test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/gtest_xml_test_utils.py b/googletest/test/gtest_xml_test_utils.py
index 3d0c3b2..341956b 100755
--- a/googletest/test/gtest_xml_test_utils.py
+++ b/googletest/test/gtest_xml_test_utils.py
@@ -101,7 +101,7 @@ class GTestXMLTestCase(gtest_test_utils.TestCase):
self.assertEquals(
len(expected_children), len(actual_children),
'number of child elements differ in element ' + actual_node.tagName)
- for child_id, child in expected_children.iteritems():
+ for child_id, child in expected_children.items():
self.assert_(child_id in actual_children,
'<%s> is not in <%s> (in element %s)' %
(child_id, actual_children, actual_node.tagName))