exception unittest.SkipTest(reason) This exception is raised to skip a test. Usually you can
class typing.Generator(Iterator[T_co], Generic[T_co, T_contra, V_co]) A generator can be annotated by the generic type
@unittest.skipUnless(condition, reason) Skip the decorated test unless condition is true.
assertRaises(exception, callable, *args, **kwds) assertRaises(exception, msg=None) Test that an exception is raised
fail(msg=None) Signals a test failure unconditionally, with msg or None for the error message.
class typing.SupportsAbs An ABC with one abstract method __abs__ that is covariant in its return type.
skipped A list containing 2-tuples of TestCase instances and strings holding the reason for skipping the test.
class typing.Reversible An ABC with one abstract method __reversed__ returning an Iterator[T_co].
mock_calls mock_calls records all calls to the mock object, its methods, magic methods and return
stopTestRun() Called once after all tests are executed.
Page 25 of 28