1# Convenience test module to run all of the XML-related tests in the 2# standard library. 3 4import sys 5import test.test_support 6 7test.test_support.verbose = 0 8 9def runtest(name): 10 __import__(name) 11 module = sys.modules[name] 12 if hasattr(module, "test_main"): 13 module.test_main() 14 15runtest("test.test_minidom") 16runtest("test.test_pyexpat") 17runtest("test.test_sax") 18runtest("test.test_xml_etree") 19runtest("test.test_xml_etree_c") 20runtest("test.test_xmllib") 21runtest("test.test_xmlrpc") 22