startTestRun() Called once before any tests are executed.
class typing.AnyStr AnyStr is a type variable defined as AnyStr = TypeVar('AnyStr', str, bytes).
name A string name identifying the DocTest. Typically, this is the name of the object or file that the test was
patch.multiple(target, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs) Perform multiple
class typing.Generator(Iterator[T_co], Generic[T_co, T_contra, V_co]) A generator can be annotated by the generic type
debug() Run the tests associated with this suite without collecting the result. This allows exceptions raised by the test to
class typing.Reversible An ABC with one abstract method __reversed__ returning an Iterator[T_co].
summarize(verbose=None) Print a summary of all the test cases that have been run by this DocTestRunner, and return a
source A string containing the example’s source code. This source code consists of a single Python statement, and always ends
examples A list of Example objects encoding the individual interactive Python examples that should be run by this
Page 25 of 28