summaryrefslogtreecommitdiffstats
path: root/Lib/test/testall.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/testall.py')
-rw-r--r--Lib/test/testall.py44
1 files changed, 8 insertions, 36 deletions
diff --git a/Lib/test/testall.py b/Lib/test/testall.py
index f8ce346..b31dd98 100644
--- a/Lib/test/testall.py
+++ b/Lib/test/testall.py
@@ -4,45 +4,17 @@
# Remember to add new tests when new features are added!
from test_support import *
-
+
print 'test_grammar'
forget('test_grammar')
import test_grammar
-print 'test_opcodes'
-unload('test_opcodes')
-import test_opcodes
-
-print 'test_operations'
-unload('test_operations')
-import test_operations
-
-print 'test_builtin'
-unload('test_builtin')
-import test_builtin
-
-print 'test_exceptions'
-unload('test_exceptions')
-import test_exceptions
-
-print 'test_types'
-unload('test_types')
-import test_types
-
-print 'test_math'
-unload('test_math')
-import test_math
-
-print 'test_time'
-unload('test_time')
-import test_time
-
-print 'test_array'
-unload('test_array')
-import test_array
-
-print 'test_strop'
-unload('test_strop')
-import test_strop
+for t in ['test_opcodes', 'test_operations', 'test_builtin',
+ 'test_exceptions', 'test_types', 'test_math', 'test_time',
+ 'test_array', 'test_strop', 'test_md5',
+ ]:
+ print t
+ unload(t)
+ __import__(t, globals(), locals())
print 'Passed all tests.'