Test cases for the twisted.python.failure module.

Function getDivisionFailure Make a Failure of a divide-by-zero error.
Class FailureTests Tests for failure.Failure.
Class BrokenStr An exception class the instances of which cannot be presented as strings via str.
Class BrokenExceptionMetaclass A metaclass for an exception type which cannot be presented as a string via str.
Class BrokenExceptionType The aforementioned exception type which cnanot be presented as a string via str.
Class GetTracebackTests Tests for Failure.getTraceback.
Class FindFailureTests Tests for functionality related to Failure._findFailure.
Class FormattableTracebackTests Whitebox tests that show that failure._Traceback constructs objects that can be used by traceback.extract_tb.
Class FrameAttributesTests _Frame objects should possess some basic attributes that qualify them as fake python Frame objects.
Class DebugModeTests Failure's debug mode should allow jumping into the debugger.
Class ExtendedGeneratorTests Tests failure.Failure support for generator features added in Python 2.5
def getDivisionFailure(*args, **kwargs):

Make a Failure of a divide-by-zero error.

ParametersargsAny *args are passed to Failure's constructor.
kwargsAny **kwargs are passed to Failure's constructor.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.