def __init__(self, checker=None, verbose=False, optionflags=<NUM_LIT:0>):
self._checker = checker or OutputChecker()<EOL>self._verbose = verbose<EOL>self.optionflags = optionflags<EOL>self.original_optionflags = optionflags<EOL>self.tries = <NUM_LIT:0><EOL>self.failures = <NUM_LIT:0><EOL>self._name2ft = {}<EOL>self._fakeout = _SpoofOut()<EOL>
Create a new test runner.

Optional keyword arg `checker` is the `OutputChecker` that
should be used to compare the expected outputs and actual
outputs of doctest examples.

Optional keyword arg 'verbose' prints lots of stuff if true,
only failures if false; by default, it's true iff '-v' is in
sys.argv.

Optional argument `optionflags` can be used to control how the
test runner compares expected output to actual output, and how
it displays failures.  See the documentation for `testmod` for
more information.