addSuccess(test) Called when the test case test succeeds. The default implementation
@test.support.run_with_locale(catstr, *locales) A decorator for running a function in a different locale, correctly resetting
exception test.support.TestFailed Exception to be raised when a test fails. This is deprecated in favor of
assertGreater(first, second, msg=None) assertGreaterEqual(first, second, msg=None) assertLess(first, second
tearDownClass() A class method called after tests in an individual class have run. tearDownClass is called with
countTestCases() Return the number of tests represented by this test object. For TestCase instances, this will
@unittest.skip(reason) Unconditionally skip the decorated test. reason should describe why the test is being skipped
class typing.Iterator(Iterable[T_co]) A generic version of the
class typing.io Wrapper namespace for I/O stream types. This defines the generic type IO[AnyStr]
report_failure(out, test, example, got) Report that the given example failed. This method is provided to allow subclasses of
Page 11 of 28