Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: a40ea98fc10b86b47dde49884c4d2c8fe6e79bce authored by Benjamin Peterson on 10 May 2015, 17:14:16 UTC
bump version to 2.7.10rc1
Tip revision: a40ea98
xmltests.py
# Convenience test module to run all of the XML-related tests in the
# standard library.

import sys
import test.test_support

test.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_etree")
runtest("test.test_xml_etree_c")
runtest("test.test_xmllib")
runtest("test.test_xmlrpc")
back to top