mirror of
				https://github.com/python/cpython.git
				synced 2025-10-26 11:14:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			499 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			499 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Convenience test module to run all of the XML-related tests in the
 | |
| # standard library.
 | |
| 
 | |
| import sys
 | |
| import test.support
 | |
| 
 | |
| test.support.verbose = 0
 | |
| 
 | |
| def runtest(name):
 | |
|     __import__(name)
 | |
|     module = sys.modules[name]
 | |
|     if hasattr(module, "test_main"):
 | |
|         module.test_main()
 | |
| 
 | |
| runtest("test.test_minidom")
 | |
| runtest("test.test_pyexpat")
 | |
| runtest("test.test_sax")
 | |
| runtest("test.test_xml_dom_minicompat")
 | |
| runtest("test.test_xml_etree")
 | |
| runtest("test.test_xml_etree_c")
 | |
| runtest("test.test_xmlrpc")
 | 
