# HG changeset patch # User Augie Fackler # Date 1432343752 14400 # Node ID 27600986a0d914fffcf61bdb914140b0e2b4d567 # Parent 8fa3e995a375244068194c65afea6ba11815b970 run-tests: use items() instead of iteritems() This fixes the python3.5 build. We'll presumably want to build our own helper function or use 2to3 for this on the main source tree, but for run-tests we want a single-source version that works in 2.6 and 3.5. diff -r 8fa3e995a375 -r 27600986a0d9 tests/run-tests.py --- a/tests/run-tests.py Thu May 21 14:57:30 2015 -0700 +++ b/tests/run-tests.py Fri May 22 21:15:52 2015 -0400 @@ -1711,7 +1711,7 @@ if e.errno != errno.ENOENT: raise return -1e9 # file does not exist, tell early - for kw, mul in slow.iteritems(): + for kw, mul in slow.items(): if kw in f: val *= mul return val