id() Return a string identifying the specific test case. This is usually the full name of the test method, including the module
test.support.temp_cwd(name='tempcwd', quiet=False) A context manager that temporarily creates a new directory and changes the
indent The example’s indentation in the containing string, i.e., the number of space characters that precede the example’s first
test.support.load_package_tests(pkg_dir, loader, standard_tests, pattern) Generic implementation of the
attach_mock(mock, attribute) Attach a mock as an attribute of this one, replacing its name and parent. Calls to the attached
test.support.is_jython True if the running interpreter is Jython.
assertGreaterEqual(first, second, msg=None) assertLess(first, second, msg=None) assertLessEqual(first, second
The latest trend in white
unittest.removeHandler(function=None) When called without arguments this function removes the control-c handler if it has been
report_unexpected_exception(out, test, example, exc_info) Report that the given example raised an unexpected exception. This
Page 17 of 28