Source code: Lib/pydoc.py
doctest.debug(module, name, pm=False) Debug the doctests for an object. The module
typing.get_type_hints(obj) Return type hints for a function or method object. This is often
filename The name of the file that this DocTest was extracted from; or None if the filename is unknown
test.support.import_module(name, deprecated=False) This function imports and returns the named module. Unlike a normal import
test.support.import_fresh_module(name, fresh=(), blocked=(), deprecated=False) This function imports and returns a fresh copy
class doctest.DocTestParser A processing class used to extract interactive examples from a string, and use them to create a
assertWarnsRegex(warning, regex, callable, *args, **kwds) assertWarnsRegex(warning, regex, msg=None) Like
run(result=None) Run the test, collecting the result into the TestResult object passed as result. If result
assertSequenceEqual(first, second, msg=None, seq_type=None) Tests that two sequences are equal. If a seq_type is supplied
Page 1 of 28