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

class typing.Iterator(Iterable[T_co]) A generic version of the

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

@test.support.anticipate_failure(condition) A decorator to conditionally mark tests with

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

class typing.Container(Generic[T_co]) A generic version of

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

output_difference(example, got, optionflags) Return a string describing the differences between the expected output for a given

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

options A dictionary mapping from option flags to True or False, which is used to override default

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

test.support.captured_stdin() test.support.captured_stdout() test.support.captured_stderr()

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

tearDownClass() A class method called after tests in an individual class have run. tearDownClass is called with

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

addExpectedFailure(test, err) Called when the test case test fails, but was marked with the expectedFailure()

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

DocTestFailure.example The Example that failed.

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

addUnexpectedSuccess(test) Called when the test case test was marked with the expectedFailure() decorator

2025-01-10 15:47:30