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.
test.support.run_unittest(*classes) Execute
@unittest.skipUnless(condition, reason) Skip the decorated test unless condition is true.
unittest.mock.mock_open(mock=None, read_data=None) A helper function to create a mock to replace the use of
mock_calls mock_calls records all calls to the mock object, its methods, magic methods and return
subTest(msg=None, **params) Return a context manager which executes the enclosed code block as a subtest. msg and params
EnvironmentVarGuard.unset(envvar) Temporarily unset the environment variable envvar.
DocTestFailure.test The DocTest object that was being run when the example failed.
assertLessEqual(first, second, msg=None) Test that first is respectively >, >=, < or <= than second
Page 24 of 28