# HG changeset patch # User Augie Fackler # Date 1428957079 14400 # Node ID 55f1ac2797cc7ea1a1d4ec3eff3bab4b8956b668 # Parent 6b8ddf896463c010c0d6b2fe58487f5d737bf38b run-tests: use items instead of iteritems on dicts This works the same-enough on 2.6 and 3.5 to be fine. diff -r 6b8ddf896463 -r 55f1ac2797cc tests/run-tests.py --- 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])