changeset 25049:55f1ac2797cc

run-tests: use items instead of iteritems on dicts This works the same-enough on 2.6 and 3.5 to be fine.
author Augie Fackler <augie@google.com>
date Mon, 13 Apr 2015 16:31:19 -0400
parents 6b8ddf896463
children 28526bb5b3b5
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Mon Apr 13 16:30:40 2015 -0400
+++ b/tests/run-tests.py	Mon Apr 13 16:31:19 2015 -0400
@@ -1526,7 +1526,7 @@
                         t.setAttribute('name', tc.name)
                         t.setAttribute('time', '%.3f' % timesd[tc.name])
                         s.appendChild(t)
-                    for tc, err in sorted(result.faildata.iteritems()):
+                    for tc, err in sorted(result.faildata.items()):
                         t = doc.createElement('testcase')
                         t.setAttribute('name', tc)
                         t.setAttribute('time', '%.3f' % timesd[tc])