class typing.Text Text is an alias for str. It is provided to supply a forward compatible path for
test.support.can_symlink() Return True if the OS supports symbolic links, False otherwise.
class doctest.Example(source, want, exc_msg=None, lineno=0, indent=0, options=None) A single interactive example, consisting
parse(string, name='') Divide the given string into examples and intervening text, and return them as a list of alternating
getTestCaseNames(testCaseClass) Return a sorted sequence of method names found within testCaseClass; this should be
doctest.script_from_examples(s) Convert text with examples to a script. Argument s
unittest.removeHandler(function=None) When called without arguments this function removes the control-c handler if it has been
test.support.captured_stderr() A context managers that temporarily replaces the named stream with
loadTestsFromNames(names, module=None) Similar to loadTestsFromName(), but takes a sequence of names rather than
EnvironmentVarGuard.set(envvar, value) Temporarily set the environment variable envvar to the value of value
Page 17 of 28