diff options
author | Peter Levine <plevine457@gmail.com> | 2018-09-14 23:40:51 (GMT) |
---|---|---|
committer | Peter Levine <plevine457@gmail.com> | 2018-09-14 23:40:51 (GMT) |
commit | 149c0d24148da9a339d6c9d03e638a39c59731f6 (patch) | |
tree | d4d1991631be4474135690b7fa3ec15f014ffd8a /googletest/test/gtest_xml_test_utils.py | |
parent | bc2d0935b74917be0821bfd834472ed9cc4a3b5b (diff) | |
download | googletest-149c0d24148da9a339d6c9d03e638a39c59731f6.zip googletest-149c0d24148da9a339d6c9d03e638a39c59731f6.tar.gz googletest-149c0d24148da9a339d6c9d03e638a39c59731f6.tar.bz2 |
Fix Python3 support
Diffstat (limited to 'googletest/test/gtest_xml_test_utils.py')
-rwxr-xr-x | googletest/test/gtest_xml_test_utils.py | 2 |
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 1e03585..afcf55e 100755 --- a/googletest/test/gtest_xml_test_utils.py +++ b/googletest/test/gtest_xml_test_utils.py @@ -94,7 +94,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)) |