Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 6cc7940e10372aa696ac62d9ab00bf0717a94ae6 authored by Barry Warsaw on 08 May 2008, 13:16:19 UTC
Bump to 2.6a3
Tip revision: 6cc7940
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