mirror of https://github.com/python/cpython.git
29 lines
655 B
Python
29 lines
655 B
Python
# testall.py -- a regression test for the Python interpreter.
|
|
# To run the tests, execute "import testall" in a clean interpreter.
|
|
# It is a good idea to do this whenever you build a new interpreter.
|
|
# 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 'Passed all tests.'
|