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
unittest.TestCase.assertNotRegex()
  • References/Python/Python/Development Tools

assertNotRegex(text, regex, msg=None) Test that a regex search matches (or does not match) text. In case of

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

UnexpectedException.example The Example that failed.

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

unittest.mock.create_autospec(spec, spec_set=False, instance=False, **kwargs) Create a mock object using another object as a

2025-01-10 15:47:30
typing.Any
  • References/Python/Python/Development Tools

class typing.Any Special type indicating an unconstrained type. Any object

2025-01-10 15:47:30
typing.SupportsInt
  • References/Python/Python/Development Tools

class typing.SupportsInt An ABC with one abstract method __int__.

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
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