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

Method run

Lib/doctest.py:1992–1996  ·  view source on GitHub ↗
(self, test, compileflags=None, out=None, clear_globs=True)

Source from the content-addressed store, hash-verified

1990 """
1991
1992 def run(self, test, compileflags=None, out=None, clear_globs=True):
1993 r = DocTestRunner.run(self, test, compileflags, out, False)
1994 if clear_globs:
1995 test.globs.clear()
1996 return r
1997
1998 def report_unexpected_exception(self, out, test, example, exc_info):
1999 raise UnexpectedException(test, example, exc_info)

Callers 4

debugMethod · 0.95
runMethod · 0.45
runTestMethod · 0.45
debug_scriptFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected