Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: f5f9d99974febbff6d4d55ef36bbfa0c71ed0738 authored by Barry Warsaw on 12 September 2008, 23:35:48 UTC
Fix the release level
Tip revision: f5f9d99
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