Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 2a348c453954cbe7c2654a99a18bf08ee2826fc0 authored by Mariatta on 02 July 2020, 19:40:15 UTC
Update .github/workflows/stale.yml
Tip revision: 2a348c4
xmltests.py
# Convenience test module to run all of the XML-related tests in the
# standard library.

import sys
import test.support

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