home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pyth_os2.zip / python-1.0.2 / Lib / test / testall.py < prev   
Text File  |  1993-12-29  |  714b  |  33 lines

  1. # testall.py -- a regression test for the Python interpreter.
  2. # To run the tests, execute "import testall" in a clean interpreter.
  3. # It is a good idea to do this whenever you build a new interpreter.
  4. # Remember to add new tests when new features are added!
  5.  
  6. from test_support import *
  7.  
  8. print 'test_grammar'
  9. forget('test_grammar')
  10. import test_grammar
  11.  
  12. print 'test_opcodes'
  13. unload('test_opcodes')
  14. import test_opcodes
  15.  
  16. print 'test_operations'
  17. unload('test_operations')
  18. import test_operations
  19.  
  20. print 'test_builtin'
  21. unload('test_builtin')
  22. import test_builtin
  23.  
  24. print 'test_exceptions'
  25. unload('test_exceptions')
  26. import test_exceptions
  27.  
  28. print 'test_types'
  29. unload('test_types')
  30. import test_types
  31.  
  32. print 'Passed all tests.'
  33.