testMethodPrefix String giving the prefix of method names which will be interpreted as test methods. The default value is 'test'
debug() Run the test without collecting the result. This allows exceptions raised by the test to be propagated to the caller
test.support.change_cwd(path, quiet=False) A context manager that temporarily changes the current working directory to path
get_examples(string, name='') Extract all doctest examples from the given string, and return them as a list of Example
UnexpectedException.exc_info A tuple containing information about the unexpected exception, as returned by
class typing.Optional Optional type. Optional[X] is equivalent to Union[X
doctest.DocFileSuite(*paths, module_relative=True, package=None, setUp=None, tearDown=None, globs=None, optionflags=0, parser=DocTestParser(), encoding=None)
class typing.Any Special type indicating an unconstrained type. Any object
test.support.is_jython True if the running interpreter is Jython.
failureException This class attribute gives the exception raised by the test method. If a test framework needs to use a specialized
Page 12 of 28