mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			615 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			615 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
 | |
| 
 | |
| 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.'
 | 
