A subclass of `DocTestRunner` that checks the output of each example,
and replaces the expected output with the actual output for any examples
that fail.
However, care must be taken not to update an example's expected output
with an incorrect value.
|
|
|
run(self,
test,
compileflags=None,
out=None,
clear_globs=True)
Run the update runner |
source code
|
|
|
report_start(self,
out,
test,
example)
Report that the test runner is about to process the given
example. |
source code
|
|
|
|
|
|
|
|
|
_report_replacement(self,
out,
test,
example,
replacement) |
source code
|
|
|
|
Inherited from doctest.DocTestRunner :
merge ,
summarize
Inherited from doctest.DocTestRunner (private):
_failure_header
|