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
unittest.TestResult.shouldStop
  • References/Python/Python/Development Tools

shouldStop Set to True when the execution of tests should stop by stop().

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

exception doctest.DocTestFailure(test, example, got) An exception raised by DocTestRunner to signal that a doctest

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

tearDown() Method called immediately after the test method has been called and the result recorded. This is called even if the

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

addTests(tests) Add all the tests from an iterable of TestCase and TestSuite instances to this test

2025-01-10 15:47:30
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
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
doctest.DocFileSuite()
  • References/Python/Python/Development Tools

doctest.DocFileSuite(*paths, module_relative=True, package=None, setUp=None, tearDown=None, globs=None, optionflags=0, parser=DocTestParser(), encoding=None)

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

test.support.find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM) Returns an unused port that should be suitable

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

report_start(out, test, example) Report that the test runner is about to process the given example. This method is provided

2025-01-10 15:47:30