0001 # Convenience test module to run all of the XML-related tests in the 0002 # standard library. 0003 0004 import sys 0005 import test.test_support 0006 0007 test.test_support.verbose = 0 0008 0009 def runtest(name): 0010 __import__(name) 0011 module = sys.modules[name] 0012 if hasattr(module, "test_main"): 0013 module.test_main() 0014 0015 runtest("test.test_minidom") 0016 runtest("test.test_pyexpat") 0017 runtest("test.test_sax") 0018 runtest("test.test_xmllib") 0019 runtest("test.test_xmlrpc") 0020
Generated by PyXR 0.9.4