doctest.DocTestRunner.summarize()
  • References/Python/Python/Development Tools

summarize(verbose=None) Print a summary of all the test cases that have been run by this DocTestRunner, and return a

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

name A string name identifying the DocTest. Typically, this is the name of the object or file that the test was

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

skipped A list containing 2-tuples of TestCase instances and strings holding the reason for skipping the test.

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

method_calls As well as tracking calls to themselves, mocks also track calls to methods and attributes, and their methods

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

@unittest.expectedFailure Mark the test as an expected failure. If the test fails when run, the test is not counted as a failure

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

class typing.KeysView(MappingView[KT_co], AbstractSet[KT_co]) A generic version of

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

@unittest.skipUnless(condition, reason) Skip the decorated test unless condition is true.

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

stopTestRun() Called once after all tests are executed.

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

class typing.SupportsAbs An ABC with one abstract method __abs__ that is covariant in its return type.

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

unittest.mock.mock_open(mock=None, read_data=None) A helper function to create a mock to replace the use of

2025-01-10 15:47:30