test.support.make_bad_fd() Create an invalid file descriptor by opening and closing a temporary file, and returning its descriptor
unittest.registerResult(result) Register a TestResult object for control-c handling. Registering a result stores
run(test, compileflags=None, out=None, clear_globs=True) Run the examples in test (a DocTest object),
test.support.temp_cwd(name='tempcwd', quiet=False) A context manager that temporarily creates a new directory and changes the
class doctest.Example(source, want, exc_msg=None, lineno=0, indent=0, options=None) A single interactive example, consisting
assertGreaterEqual(first, second, msg=None) assertLess(first, second, msg=None) assertLessEqual(first, second
EnvironmentVarGuard.set(envvar, value) Temporarily set the environment variable envvar to the value of value
test.support.load_package_tests(pkg_dir, loader, standard_tests, pattern) Generic implementation of the
unittest.removeHandler(function=None) When called without arguments this function removes the control-c handler if it has been
shortDescription() Returns a description of the test, or None if no description has been provided. The default
Page 15 of 28