mirror of
https://github.com/python/cpython.git
synced 2024-12-12 03:04:15 +08:00
3a159a8d25
timing information in the output makes the determination of success bogus.
20 lines
433 B
Python
20 lines
433 B
Python
# 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_xmllib")
|
|
runtest("test.test_xmlrpc")
|