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

Method report_success

Lib/doctest.py:1324–1330  ·  view source on GitHub ↗

Report that the given example ran successfully. (Only displays a message if verbose=True)

(self, out, test, example, got)

Source from the content-addressed store, hash-verified

1322 'Expecting nothing\n')
1323
1324 def report_success(self, out, test, example, got):
1325 """
1326 Report that the given example ran successfully. (Only
1327 displays a message if verbose=True)
1328 """
1329 if self._verbose:
1330 out("ok\n")
1331
1332 def report_failure(self, out, test, example, got):
1333 """

Callers 1

__runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected