Author: thomas.heller
Date: Wed Jul 11 16:49:26 2007
New Revision: 56272

Modified:
   python/branches/py3k-struni/Lib/ctypes/test/__init__.py
Log:
dict.keys() returns an iterable, convert it into a list.

Modified: python/branches/py3k-struni/Lib/ctypes/test/__init__.py
==============================================================================
--- python/branches/py3k-struni/Lib/ctypes/test/__init__.py     (original)
+++ python/branches/py3k-struni/Lib/ctypes/test/__init__.py     Wed Jul 11 
16:49:26 2007
@@ -124,7 +124,7 @@
         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,
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to