summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5f7fcc2cae..372c6e8c45 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,