test.support.import_module(name, deprecated=False) This function imports and returns the named module. Unlike a normal import
filename The name of the file that this DocTest was extracted from; or None if the filename is unknown
get_doctest(string, globs, name, filename, lineno) Extract all doctest examples from the given string, and collect them into
test.support.run_doctest(module, verbosity=None) Run
output A list of str
assertSetEqual(first, second, msg=None) Tests that two sets are equal. If not, an error message is constructed that lists the
buffer If set to true, sys.stdout and sys.stderr will be buffered in between startTest()
class typing.Union Union type; Union[X, Y] means either X or Y. To define a union
maxDiff This attribute controls the maximum length of diffs output by assert methods that report diffs on failure. It defaults
tb_locals If set to true then local variables will be shown in tracebacks.
Page 1 of 28