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
test.support.is_jython
  • References/Python/Python/Development Tools

test.support.is_jython True if the running interpreter is Jython.

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

doctest.script_from_examples(s) Convert text with examples to a script. Argument s

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

class typing.Callable Callable type; Callable[[int], str] is a function of (int) -> str. The

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

wasSuccessful() Return True if all tests run so far have passed, otherwise returns False.

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

failureException This class attribute gives the exception raised by the test method. If a test framework needs to use a specialized

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

defaultTestResult() Return an instance of the test result class that should be used for this test case class (if no other result

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

typing.NamedTuple(typename, fields) Typed version of namedtuple. Usage:

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

id() Return a string identifying the specific test case. This is usually the full name of the test method, including the module

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

test.support.captured_stderr() A context managers that temporarily replaces the named stream with

2025-01-10 15:47:30