typing.Tuple
  • References/Python/Python/Development Tools

class typing.Tuple Tuple type; Tuple[X, Y] is the type of a tuple of two items with the first item of type X and

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

class unittest.TextTestRunner(stream=None, descriptions=True, verbosity=1, failfast=False, buffer=False, resultclass=None, warnings=None, *, tb_locals=False)

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

startTest(test) Called when the test case test is about to be run.

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

expectedFailures A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each

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

class typing.re Wrapper namespace for regular expression matching types. This defines the type

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

unittest.mock.patch(target, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs)

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

__dir__() Mock objects limit the results of dir(some_mock) to useful results. For mocks with a spec

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

doctest.testmod(m=None, name=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_error=False, exclude_empty=False)

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

exc_msg The exception message generated by the example, if the example is expected to generate an exception; or None

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

configure_mock(**kwargs) Set attributes on the mock through keyword arguments. Attributes plus

2025-01-10 15:47:30