summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Script/MainTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Script/MainTests.py')
-rw-r--r--src/engine/SCons/Script/MainTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Script/MainTests.py b/src/engine/SCons/Script/MainTests.py
index d41d9c1..1855afa 100644
--- a/src/engine/SCons/Script/MainTests.py
+++ b/src/engine/SCons/Script/MainTests.py
@@ -21,7 +21,7 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
-__revision__ = "src/engine/SCons/Script/MainTests.py 4720 2010/03/24 03:14:11 jars"
+__revision__ = "src/engine/SCons/Script/MainTests.py 5023 2010/06/14 22:05:46 scons"
import unittest
import SCons.Errors
@@ -42,7 +42,7 @@ if __name__ == "__main__":
tclasses = []
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)