test.support.make_bad_fd()
  • References/Python/Python/Development Tools

test.support.make_bad_fd() Create an invalid file descriptor by opening and closing a temporary file, and returning its descriptor

2025-01-10 15:47:30
unittest.registerResult()
  • References/Python/Python/Development Tools

unittest.registerResult(result) Register a TestResult object for control-c handling. Registering a result stores

2025-01-10 15:47:30
doctest.DocTestRunner.run()
  • References/Python/Python/Development Tools

run(test, compileflags=None, out=None, clear_globs=True) Run the examples in test (a DocTest object),

2025-01-10 15:47:30
test.support.temp_cwd()
  • References/Python/Python/Development Tools

test.support.temp_cwd(name='tempcwd', quiet=False) A context manager that temporarily creates a new directory and changes the

2025-01-10 15:47:30
doctest.Example
  • References/Python/Python/Development Tools

class doctest.Example(source, want, exc_msg=None, lineno=0, indent=0, options=None) A single interactive example, consisting

2025-01-10 15:47:30
unittest.TestCase.assertGreaterEqual()
  • References/Python/Python/Development Tools

assertGreaterEqual(first, second, msg=None) assertLess(first, second, msg=None) assertLessEqual(first, second

2025-01-10 15:47:30
test.support.EnvironmentVarGuard.set()
  • References/Python/Python/Development Tools

EnvironmentVarGuard.set(envvar, value) Temporarily set the environment variable envvar to the value of value

2025-01-10 15:47:30
test.support.load_package_tests()
  • References/Python/Python/Development Tools

test.support.load_package_tests(pkg_dir, loader, standard_tests, pattern) Generic implementation of the

2025-01-10 15:47:30
unittest.removeHandler()
  • References/Python/Python/Development Tools

unittest.removeHandler(function=None) When called without arguments this function removes the control-c handler if it has been

2025-01-10 15:47:30
unittest.TestCase.shortDescription()
  • References/Python/Python/Development Tools

shortDescription() Returns a description of the test, or None if no description has been provided. The default

2025-01-10 15:47:30