summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/DefaultsTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/DefaultsTests.py')
-rw-r--r--src/engine/SCons/DefaultsTests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/SCons/DefaultsTests.py b/src/engine/SCons/DefaultsTests.py
index 3d9c1ee..8534cf8 100644
--- a/src/engine/SCons/DefaultsTests.py
+++ b/src/engine/SCons/DefaultsTests.py
@@ -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)