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

test.support.run_unittest(*classes) Execute

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

class unittest.TestResult This class is used to compile information about which tests have succeeded and which have failed.

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

fail(msg=None) Signals a test failure unconditionally, with msg or None for the error message.

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

doCleanups() This method is called unconditionally after tearDown(), or after setUp() if setUp()

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

DocTestFailure.test The DocTest object that was being run when the example failed.

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

class unittest.TextTestResult(stream, descriptions, verbosity) A concrete implementation of TestResult used by

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

stop() This method can be called to signal that the set of tests being run should be aborted by setting the shouldStop

2025-01-10 15:47:30