summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-07-11 14:49:26 (GMT)
committerThomas Heller <theller@ctypes.org>2007-07-11 14:49:26 (GMT)
commitc92159aaea3263ef99ff290c28ba5d71cb89ed9a (patch)
treec88a3f65c6a297fba0a8ed976c4e842b221b3b7a /Lib/ctypes
parent3b645802f5ee3c8a545d0c81e56cf7e30aea594d (diff)
downloadcpython-c92159aaea3263ef99ff290c28ba5d71cb89ed9a.zip
cpython-c92159aaea3263ef99ff290c28ba5d71cb89ed9a.tar.gz
cpython-c92159aaea3263ef99ff290c28ba5d71cb89ed9a.tar.bz2
dict.keys() returns an iterable, convert it into a list.
Diffstat (limited to 'Lib/ctypes')
-rw-r--r--Lib/ctypes/test/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/__init__.py b/Lib/ctypes/test/__init__.py
index 5f7fcc2..372c6e8 100644
--- a/Lib/ctypes/test/__init__.py
+++ b/Lib/ctypes/test/__init__.py
@@ -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,