[Python-3000-checkins] r58884 - python/branches/py3k-pep3137/Lib/test/regrtest.py

guido.van.rossum python-3000-checkins at python.org
Tue Nov 6 21:40:52 CET 2007


Author: guido.van.rossum
Date: Tue Nov  6 21:40:52 2007
New Revision: 58884

Modified:
   python/branches/py3k-pep3137/Lib/test/regrtest.py
Log:
Don't leave args and tests as iterators after mapping through removepy.


Modified: python/branches/py3k-pep3137/Lib/test/regrtest.py
==============================================================================
--- python/branches/py3k-pep3137/Lib/test/regrtest.py	(original)
+++ python/branches/py3k-pep3137/Lib/test/regrtest.py	Tue Nov  6 21:40:52 2007
@@ -360,9 +360,9 @@
 
     # Strip .py extensions.
     if args:
-        args = map(removepy, args)
+        args = list(map(removepy, args))
     if tests:
-        tests = map(removepy, tests)
+        tests = list(map(removepy, tests))
 
     stdtests = STDTESTS[:]
     nottests = NOTTESTS.copy()


More information about the Python-3000-checkins mailing list