MCPcopy Index your code
hub / github.com/python/cpython / runtest

Function runtest

Lib/test/xmltests.py:9–13  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

7test.support.verbose = 0
8
9def runtest(name):
10 __import__(name)
11 module = sys.modules[name]
12 if hasattr(module, "test_main"):
13 module.test_main()
14
15runtest("test.test_minidom")
16runtest("test.test_pyexpat")

Callers 1

xmltests.pyFile · 0.85

Calls 2

__import__Function · 0.85
test_mainMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…