MCPcopy Index your code
hub / github.com/RustPython/RustPython / run

Method run

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

Source from the content-addressed store, hash-verified

1963 """
1964
1965 def run(self, test, compileflags=None, out=None, clear_globs=True):
1966 r = DocTestRunner.run(self, test, compileflags, out, False)
1967 if clear_globs:
1968 test.globs.clear()
1969 return r
1970
1971 def report_unexpected_exception(self, out, test, example, exc_info):
1972 raise UnexpectedException(test, example, exc_info)

Callers 2

debugMethod · 0.95
debug_scriptFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected