unittest.TestResult.testsRun
  • References/Python/Python/Development Tools

testsRun The total number of tests run so far.

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

@unittest.skip(reason) Unconditionally skip the decorated test. reason should describe why the test is being skipped

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

class test.support.TransientResource(exc, **kwargs) Instances are a context manager that raises ResourceDenied

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

countTestCases() Return the number of tests represented by this test object. For TestCase instances, this will

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

doctest.debug_src(src, pm=False, globs=None) Debug the doctests in a string. This is like function

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
typing.TypeVar
  • References/Python/Python/Development Tools

class typing.TypeVar Type variable. Usage:

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

class typing.ItemsView(MappingView, Generic[KT_co, VT_co]) A generic version of

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

doctest.set_unittest_reportflags(flags) Set the doctest reporting flags to use. Argument

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

UnexpectedException.exc_info A tuple containing information about the unexpected exception, as returned by

2025-01-10 15:47:30