ยปCore Development>Code coverage>Lib/test/xmltests.py

Python code coverage for Lib/test/xmltests.py

#countcontent
1n/a# Convenience test module to run all of the XML-related tests in the
2n/a# standard library.
3n/a
4n/aimport sys
5n/aimport test.support
6n/a
7n/atest.support.verbose = 0
8n/a
9n/adef runtest(name):
10n/a __import__(name)
11n/a module = sys.modules[name]
12n/a if hasattr(module, "test_main"):
13n/a module.test_main()
14n/a
15n/aruntest("test.test_minidom")
16n/aruntest("test.test_pyexpat")
17n/aruntest("test.test_sax")
18n/aruntest("test.test_xml_dom_minicompat")
19n/aruntest("test.test_xml_etree")
20n/aruntest("test.test_xml_etree_c")
21n/aruntest("test.test_xmlrpc")