##// END OF EJS Templates
run-tests: use items instead of iteritems on dicts...
Augie Fackler -
r25049:55f1ac27 default
parent child Browse files
Show More
@@ -1526,7 +1526,7 b' class TextTestRunner(unittest.TextTestRu'
1526 t.setAttribute('name', tc.name)
1526 t.setAttribute('name', tc.name)
1527 t.setAttribute('time', '%.3f' % timesd[tc.name])
1527 t.setAttribute('time', '%.3f' % timesd[tc.name])
1528 s.appendChild(t)
1528 s.appendChild(t)
1529 for tc, err in sorted(result.faildata.iteritems()):
1529 for tc, err in sorted(result.faildata.items()):
1530 t = doc.createElement('testcase')
1530 t = doc.createElement('testcase')
1531 t.setAttribute('name', tc)
1531 t.setAttribute('name', tc)
1532 t.setAttribute('time', '%.3f' % timesd[tc])
1532 t.setAttribute('time', '%.3f' % timesd[tc])
General Comments 0
You need to be logged in to leave comments. Login now