typing.NamedTuple(typename, fields) Typed version of namedtuple. Usage:
UnexpectedException.example The Example that failed.
indent The example’s indentation in the containing string, i.e., the number of space characters that precede the example’s first
test.support.is_jython True if the running interpreter is Jython.
assertGreaterEqual(first, second, msg=None) assertLess(first, second, msg=None) assertLessEqual(first, second
failureException This class attribute gives the exception raised by the test method. If a test framework needs to use a specialized
assertCountEqual(first, second, msg=None) Test that sequence first contains the same elements as second, regardless
unittest.mock.call(*args, **kwargs) call() is a helper object for making simpler assertions, for comparing with
test.support.can_symlink() Return True if the OS supports symbolic links, False otherwise.
addTypeEqualityFunc(typeobj, function) Registers a type-specific method called by assertEqual() to check if two
Page 13 of 28