Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / src / engine / SCons / DefaultsTests.py
index 3d9c1ee7be05a23b5d3f85f35075fe69d5485631..8534cf8d5c95d39990d5f6c140c832d299b5c439 100644 (file)
@@ -25,7 +25,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
 import os.path
-import string
 import StringIO
 import sys
 import types
@@ -83,7 +82,7 @@ if __name__ == "__main__":
                ]
     for tclass in tclasses:
         names = unittest.getTestCaseNames(tclass, 'test_')
-        suite.addTests(map(tclass, names))
+        suite.addTests(list(map(tclass, names)))
     if not unittest.TextTestRunner().run(suite).wasSuccessful():
         sys.exit(1)