doctest.DebugRunner
  • References/Python/Python/Development Tools

class doctest.DebugRunner(checker=None, verbose=None, optionflags=0) A subclass of DocTestRunner that raises an

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

assertSetEqual(first, second, msg=None) Tests that two sets are equal. If not, an error message is constructed that lists the

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

addError(test, err) Called when the test case test raises an unexpected exception. err is a tuple of the form

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

unittest.installHandler() Install the control-c handler. When a signal.SIGINT is received (usually in response

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

output A list of str

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

test.support.temp_umask(umask) A context manager that temporarily sets the process umask.

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

class typing.Generic Abstract base class for generic types. A generic type is typically declared

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

class unittest.mock.Mock(spec=None, side_effect=None, return_value=DEFAULT, wraps=None, name=None, spec_set=None, unsafe=False, **kwargs)

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

test.support.import_fresh_module(name, fresh=(), blocked=(), deprecated=False) This function imports and returns a fresh copy

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

assertSequenceEqual(first, second, msg=None, seq_type=None) Tests that two sequences are equal. If a seq_type is supplied

2025-01-10 15:47:30