loadTestsFromModule(module, pattern=None) Return a suite of all tests cases contained in the given module. This method searches
assertEqual(first, second, msg=None) Test that first and second are equal. If the values do not compare equal
addSuccess(test) Called when the test case test succeeds. The default implementation
class typing.SupportsRound An ABC with one abstract method __round__ that is covariant in its return type.
addUnexpectedSuccess(test) Called when the test case test was marked with the expectedFailure() decorator
test.support.captured_stdin() test.support.captured_stdout() test.support.captured_stderr()
testMethodPrefix String giving the prefix of method names which will be interpreted as test methods. The default value is 'test'
DocTestFailure.example The Example that failed.
@test.support.run_with_locale(catstr, *locales) A decorator for running a function in a different locale, correctly resetting
lineno The line number within the string containing this example where the example begins. This line number is zero-based with
Page 9 of 28