mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
dict.keys() returns an iterable, convert it into a list.
This commit is contained in:
parent
3b645802f5
commit
c92159aaea
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class TestRunner(unittest.TextTestRunner):
|
|||
self.stream.writeln(result.separator2)
|
||||
run = result.testsRun
|
||||
if _unavail: #skipped:
|
||||
requested = _unavail.keys()
|
||||
requested = list(_unavail.keys())
|
||||
requested.sort()
|
||||
self.stream.writeln("Ran %d test%s in %.3fs (%s module%s skipped)" %
|
||||
(run, run != 1 and "s" or "", timeTaken,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue