@test.support.run_with_locale(catstr, *locales) A decorator for running a function in a different locale, correctly resetting
test.support.findfile(filename, subdir=None) Return the path to the file named filename. If no match is found filename
assertLess(first, second, msg=None) assertLessEqual(first, second, msg=None) Test that first is respectively
__class__ Normally the __class__ attribute of an object will return its type. For a mock object with a spec
UnexpectedException.exc_info A tuple containing information about the unexpected exception, as returned by
class typing.io Wrapper namespace for I/O stream types. This defines the generic type IO[AnyStr]
run(result) Run the tests associated with this suite, collecting the result into the test result object passed as result
addFailure(test, err) Called when the test case test signals a failure. err is a tuple of the form returned
get_examples(string, name='') Extract all doctest examples from the given string, and return them as a list of Example
test.support.requires(resource, msg=None) Raise ResourceDenied if resource is not available. msg
Page 10 of 28