report_success(out, test, example, got) Report that the given example ran successfully. This method is provided to allow subclasses
__dir__() Mock objects limit the results of dir(some_mock) to useful results. For mocks with a spec
assertIsNot(first, second, msg=None) Test that first and second evaluate (or don’t evaluate) to the same object
lineno The line number within filename where this DocTest begins, or None if the line
class typing.re Wrapper namespace for regular expression matching types. This defines the type
configure_mock(**kwargs) Set attributes on the mock through keyword arguments. Attributes plus
stopTestRun() Called once after all tests are executed.
class typing.ByteString(Sequence[int]) A generic version of
exception unittest.SkipTest(reason) This exception is raised to skip a test. Usually you can
class unittest.mock.PropertyMock(*args, **kwargs) A mock intended to be used as a property, or other descriptor, on a class
Page 23 of 28