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

Method report_success

Lib/doctest.py:1299–1305  ·  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

1297 'Expecting nothing\n')
1298
1299 def report_success(self, out, test, example, got):
1300 """
1301 Report that the given example ran successfully. (Only
1302 displays a message if verbose=True)
1303 """
1304 if self._verbose:
1305 out("ok\n")
1306
1307 def report_failure(self, out, test, example, got):
1308 """

Callers 1

__runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected