Module Import alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad FunctionDef arguments args defaults body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIs SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad FunctionDef arguments args defaults body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list Assign AttributeStore NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign AttributeStore NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str NameLoad keyword Str keyword Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return BinOpAdd NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad FunctionDef arguments args defaults body Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Expr Str Raise Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str TryExcept body Raise AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str TryExcept body Raise AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args defaults body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Lambda arguments args defaults NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A StringIO os sys zope.interface implements zope.interface.verify verifyObject twisted.trial.itrial IReporter ITestCase twisted.trial unittest runner reporter util twisted.python failure log reflect filepath twisted.python.filepath FilePath twisted.scripts trial twisted.plugins twisted_trial twisted plugin twisted.internet defer N/A pyunit N/A __import__ unittest CapturingDebugger N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self _calls N/A N/A runcall N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self _calls append runcall N/A N/A N/A args N/A 0 N/A args N/A 1 kwargs N/A N/A CapturingReporter N/A object N/A N/A 
    Reporter that keeps a log of all actions performed on it.
     N/A N/A implements IReporter N/A stream None N/A tbformat None N/A args None N/A separator None N/A testsRun None __init__ N/A N/A self stream tbformat rterrors publisher N/A None None None None N/A N/A 
        Create a capturing reporter.
         N/A N/A self _calls N/A N/A N/A self shouldStop False N/A N/A self _stream stream N/A N/A self _tbformat tbformat N/A N/A self _rterrors rterrors N/A N/A self _publisher publisher N/A startTest N/A N/A self method N/A N/A N/A 
        Report the beginning of a run of a single test method
        @param method: an object that is adaptable to ITestMethod
         N/A N/A N/A N/A self _calls append startTest N/A stopTest N/A N/A self method N/A N/A N/A 
        Report the status of a single test method
        @param method: an object that is adaptable to ITestMethod
         N/A N/A N/A N/A self _calls append stopTest N/A cleanupErrors N/A N/A self errs N/A N/A N/A called when the reactor has been left in a 'dirty' state
        @param errs: a list of L{twisted.python.failure.Failure}s
         N/A N/A N/A N/A self _calls append cleanupError N/A addSuccess N/A N/A self test N/A N/A N/A N/A N/A N/A self _calls append addSuccess N/A done N/A N/A self N/A N/A N/A 
        Do nothing. These tests don't care about done.
         N/A N/A TrialRunnerTestsMixin N/A N/A N/A 
    Mixin defining tests for L{runner.TrialRunner}.
     tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self runner _tearDownLogFile N/A test_empty N/A N/A self N/A N/A N/A 
        Empty test method, used by the other tests.
         N/A _getObservers N/A N/A self N/A N/A N/A N/A N/A log theLogPublisher observers N/A test_addObservers N/A N/A self N/A N/A N/A 
        Any log system observers L{TrialRunner.run} adds are removed by the
        time it returns.
         N/A originalCount N/A len N/A N/A self _getObservers N/A N/A N/A N/A self runner run N/A self test N/A newCount N/A len N/A N/A self _getObservers N/A N/A N/A self assertEqual newCount originalCount N/A test_logFileAlwaysActive N/A N/A self N/A N/A N/A 
        Test that a new file is opened on each run.
         N/A oldSetUpLogFile N/A N/A self runner _setUpLogFile N/A l N/A setUpLogFile N/A N/A N/A N/A N/A N/A oldSetUpLogFile N/A N/A N/A l append N/A N/A self runner _logFileObserver N/A N/A N/A N/A self runner _setUpLogFile setUpLogFile N/A N/A N/A N/A self runner run N/A self test N/A N/A N/A N/A self runner run N/A self test N/A N/A N/A self assertEqual N/A len l 2 N/A N/A N/A self failIf N/A N/A l N/A 0 N/A l N/A 1 Should have created a new file observer N/A test_logFileGetsClosed N/A N/A self N/A N/A N/A 
        Test that file created is closed during the run.
         N/A oldSetUpLogFile N/A N/A self runner _setUpLogFile N/A l N/A setUpLogFile N/A N/A N/A N/A N/A N/A oldSetUpLogFile N/A N/A N/A l append N/A N/A self runner _logFileObject N/A N/A N/A N/A self runner _setUpLogFile setUpLogFile N/A N/A N/A N/A self runner run N/A self test N/A N/A N/A self assertEqual N/A len l 1 N/A N/A N/A self failUnless N/A N/A l N/A 0 closed N/A N/A TestTrialRunner N/A TrialRunnerTestsMixin N/A unittest TestCase N/A N/A 
    Tests for L{runner.TrialRunner} with the feature to turn unclean errors
    into warnings disabled.
     setUp N/A N/A self N/A N/A N/A N/A self stream N/A N/A StringIO StringIO N/A N/A self runner N/A N/A runner TrialRunner CapturingReporter stream N/A self stream N/A N/A self test N/A TestTrialRunner test_empty N/A test_publisher N/A N/A self N/A N/A N/A 
        The reporter constructed by L{runner.TrialRunner} is passed
        L{twisted.python.log} as the value for the C{publisher} parameter.
         N/A result N/A N/A N/A self runner _makeResult N/A N/A N/A self assertIdentical N/A result _publisher log N/A N/A TrialRunnerWithUncleanWarningsReporter N/A TrialRunnerTestsMixin N/A unittest TestCase N/A N/A 
    Tests for the TrialRunner's interaction with an unclean-error suppressing
    reporter.
     setUp N/A N/A self N/A N/A N/A N/A self stream N/A N/A StringIO StringIO N/A N/A self runner N/A N/A runner TrialRunner CapturingReporter stream N/A self stream uncleanWarnings True N/A N/A self test N/A TestTrialRunner test_empty N/A N/A DryRunMixin N/A object N/A N/A suppress N/A N/A N/A util suppress category DeprecationWarning message Test visitors deprecated in Twisted 8.0 setUp N/A N/A self N/A N/A N/A N/A self log N/A N/A N/A self stream N/A N/A StringIO StringIO N/A N/A self runner N/A N/A runner TrialRunner CapturingReporter N/A N/A runner TrialRunner DRY_RUN stream N/A self stream N/A N/A N/A self makeTestFixtures N/A makeTestFixtures N/A N/A self N/A N/A N/A 
        Set C{self.test} and C{self.suite}, where C{self.suite} is an empty
        TestSuite.
         N/A test_empty N/A N/A self N/A N/A N/A 
        If there are no tests, the reporter should not receive any events to
        report.
         N/A result N/A N/A N/A self runner run N/A N/A runner TestSuite N/A N/A N/A self assertEqual N/A result _calls N/A N/A test_singleCaseReporting N/A N/A self N/A N/A N/A 
        If we are running a single test, check the reporter starts, passes and
        then stops the test during a dry run.
         N/A result N/A N/A N/A self runner run N/A self test N/A N/A N/A self assertEqual N/A result _calls N/A startTest addSuccess stopTest N/A test_testsNotRun N/A N/A self N/A N/A N/A 
        When we are doing a dry run, the tests should not actually be run.
         N/A N/A N/A N/A self runner run N/A self test N/A N/A N/A self assertEqual N/A self log N/A N/A N/A DryRunTest N/A DryRunMixin N/A unittest TestCase N/A N/A 
    Check that 'dry run' mode works well with Trial tests.
     makeTestFixtures N/A N/A self N/A N/A MockTest N/A N/A unittest TestCase N/A test_foo N/A N/A test N/A N/A N/A N/A N/A N/A self log append test_foo N/A N/A N/A N/A self test N/A MockTest test_foo N/A N/A self suite N/A N/A runner TestSuite N/A N/A PyUnitDryRunTest N/A DryRunMixin N/A unittest TestCase N/A N/A 
    Check that 'dry run' mode works well with stdlib unittest tests.
     makeTestFixtures N/A N/A self N/A N/A PyunitCase N/A N/A pyunit TestCase N/A test_foo N/A N/A self N/A N/A N/A N/A N/A N/A N/A self test N/A PyunitCase test_foo N/A N/A self suite N/A N/A pyunit TestSuite N/A N/A TestRunner N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self config N/A N/A trial Options N/A parts N/A N/A N/A N/A reflect qual CapturingReporter split . N/A package N/A N/A . join N/A parts N/A -1 N/A klass N/A parts N/A -1 N/A plugins N/A N/A N/A twisted_trial _Reporter Test Helper Reporter package description Utility for unit testing. longOpt capturing shortOpt None klass klass getPlugins N/A N/A iface N/A a kw N/A N/A N/A N/A self assertEqual iface IReporter N/A N/A plugins N/A list N/A N/A self original iface a kw N/A N/A N/A self original N/A plugin getPlugins N/A N/A plugin getPlugins getPlugins N/A N/A self standardReport N/A startTest addSuccess stopTest startTest addSuccess stopTest startTest addSuccess stopTest startTest addSuccess stopTest startTest addSuccess stopTest startTest addSuccess stopTest startTest addSuccess stopTest startTest addSuccess stopTest startTest addSuccess stopTest startTest addSuccess stopTest N/A tearDown N/A N/A self N/A N/A N/A N/A plugin getPlugins N/A self original N/A parseOptions N/A N/A self args N/A N/A N/A N/A N/A N/A self config parseOptions args N/A getRunner N/A N/A self N/A N/A N/A r N/A N/A trial _makeRunner N/A self config N/A N/A r stream N/A N/A StringIO StringIO N/A N/A N/A self addCleanup N/A r _tearDownLogFile N/A N/A r _log N/A N/A log LogPublisher N/A r N/A test_runner_can_get_reporter N/A N/A self N/A N/A N/A N/A N/A self parseOptions N/A N/A result N/A N/A self config N/A reporter N/A runner N/A N/A self getRunner N/A N/A N/A self assertEqual result N/A N/A N/A runner _makeResult __class__ N/A test_runner_get_result N/A N/A self N/A N/A N/A N/A N/A self parseOptions N/A N/A runner N/A N/A self getRunner N/A result N/A N/A runner _makeResult N/A N/A N/A self assertEqual N/A result __class__ N/A N/A self config N/A reporter N/A test_uncleanWarningsOffByDefault N/A N/A self N/A N/A N/A 
        By default Trial sets the 'uncleanWarnings' option on the runner to
        False. This means that dirty reactor errors will be reported as
        errors. See L{test_reporter.TestDirtyReactor}.
         N/A N/A N/A self parseOptions N/A N/A runner N/A N/A self getRunner N/A N/A N/A self assertNotIsInstance N/A N/A runner _makeResult N/A reporter UncleanWarningsReporterWrapper N/A test_getsUncleanWarnings N/A N/A self N/A N/A N/A 
        Specifying '--unclean-warnings' on the trial command line will cause
        reporters to be wrapped in a device which converts unclean errors to
        warnings.  See L{test_reporter.TestDirtyReactor} for implications.
         N/A N/A N/A self parseOptions N/A --unclean-warnings N/A runner N/A N/A self getRunner N/A N/A N/A self assertIsInstance N/A N/A runner _makeResult N/A reporter UncleanWarningsReporterWrapper N/A test_runner_working_directory N/A N/A self N/A N/A N/A N/A N/A self parseOptions N/A --temp-directory some_path N/A runner N/A N/A self getRunner N/A N/A N/A self assertEqual N/A runner workingDirectory some_path N/A test_concurrentImplicitWorkingDirectory N/A N/A self N/A N/A N/A 
        If no working directory is explicitly specified and the default
        working directory is in use by another runner, L{TrialRunner.run}
        selects a different default working directory to use.
         N/A N/A N/A self parseOptions N/A N/A N/A N/A self addCleanup N/A os chdir N/A N/A os getcwd N/A runDirectory N/A FilePath N/A N/A self mktemp N/A N/A N/A runDirectory makedirs N/A N/A N/A os chdir N/A runDirectory path N/A firstRunner N/A N/A self getRunner N/A secondRunner N/A N/A self getRunner N/A where N/A ConcurrentCase N/A N/A unittest TestCase N/A test_first N/A N/A self N/A N/A N/A 
                Start a second test run which will have a default working
                directory which is the same as the working directory of the
                test run already in progress.
                 N/A N/A where N/A concurrent subsequentDirectory N/A N/A os getcwd N/A N/A N/A os chdir N/A runDirectory path N/A N/A N/A self addCleanup N/A os chdir subsequentDirectory N/A N/A N/A secondRunner run N/A ConcurrentCase test_second N/A test_second N/A N/A self N/A N/A N/A 
                Record the working directory for later analysis.
                 N/A N/A where N/A record N/A N/A os getcwd N/A N/A N/A result N/A N/A firstRunner run N/A ConcurrentCase test_first N/A bad N/A N/A result errors N/A result failures N/A bad N/A N/A N/A N/A self fail N/A N/A bad N/A 0 N/A 1 N/A N/A N/A self assertEqual where N/A concurrent record N/A N/A N/A runDirectory child _trial_temp path N/A N/A N/A runDirectory child _trial_temp-1 path N/A test_concurrentExplicitWorkingDirectory N/A N/A self N/A N/A N/A 
        If a working directory which is already in use is explicitly specified,
        L{TrialRunner.run} raises L{_WorkingDirectoryBusy}.
         N/A N/A N/A self parseOptions N/A --temp-directory N/A N/A N/A os path abspath N/A N/A self mktemp N/A initialDirectory N/A N/A os getcwd N/A N/A N/A self addCleanup N/A os chdir initialDirectory N/A firstRunner N/A N/A self getRunner N/A secondRunner N/A N/A self getRunner ConcurrentCase N/A N/A unittest TestCase N/A test_concurrent N/A N/A self N/A N/A N/A 
                Try to start another runner in the same working directory and
                assert that it raises L{_WorkingDirectoryBusy}.
                 N/A N/A N/A self assertRaises N/A util _WorkingDirectoryBusy N/A secondRunner run N/A ConcurrentCase test_failure N/A test_failure N/A N/A self N/A N/A N/A 
                Should not be called, always fails.
                 N/A N/A N/A self fail test_failure should never be called. N/A N/A N/A result N/A N/A firstRunner run N/A ConcurrentCase test_concurrent N/A bad N/A N/A result errors N/A result failures N/A bad N/A N/A N/A N/A self fail N/A N/A bad N/A 0 N/A 1 N/A test_runner_normal N/A N/A self N/A N/A N/A N/A N/A self parseOptions N/A --temp-directory N/A N/A self mktemp --reporter capturing twisted.trial.test.sample N/A my_runner N/A N/A self getRunner N/A loader N/A N/A runner TestLoader N/A suite N/A N/A loader loadByName twisted.trial.test.sample True N/A result N/A N/A my_runner run suite N/A N/A N/A self assertEqual N/A self standardReport N/A result _calls N/A test_runner_debug N/A N/A self N/A N/A N/A N/A N/A self parseOptions N/A --reporter capturing --debug twisted.trial.test.sample N/A my_runner N/A N/A self getRunner N/A debugger N/A CapturingDebugger get_debugger N/A N/A N/A N/A N/A debugger N/A N/A N/A my_runner _getDebugger get_debugger N/A loader N/A N/A runner TestLoader N/A suite N/A N/A loader loadByName twisted.trial.test.sample True N/A result N/A N/A my_runner run suite N/A N/A N/A self assertEqual N/A self standardReport N/A result _calls N/A N/A N/A self assertEqual N/A runcall N/A debugger _calls N/A N/A RemoveSafelyTests N/A N/A unittest TestCase N/A N/A 
    Tests for L{_removeSafely}.
     test_removeSafelyNoTrialMarker N/A N/A self N/A N/A N/A 
        If a path doesn't contain a node named C{"_trial_marker"}, that path is
        not removed by L{runner._removeSafely} and a L{runner._NoTrialMarker}
        exception is raised instead.
         N/A directory N/A N/A self mktemp N/A N/A N/A os mkdir directory N/A dirPath N/A N/A filepath FilePath directory N/A N/A N/A self assertRaises N/A util _NoTrialMarker N/A util _removeSafely dirPath N/A test_removeSafelyRemoveFailsMoveSucceeds N/A N/A self N/A N/A N/A 
        If an L{OSError} is raised while removing a path in
        L{runner._removeSafely}, an attempt is made to move the path to a new
        name.
         dummyRemove N/A N/A N/A N/A N/A 
            Raise an C{OSError} to emulate the branch of L{runner._removeSafely}
            in which path removal fails.
             N/A N/A OSError N/A N/A out N/A N/A StringIO StringIO N/A N/A N/A self patch sys stdout out N/A directory N/A N/A self mktemp N/A N/A N/A os mkdir directory N/A dirPath N/A N/A filepath FilePath directory N/A N/A N/A N/A N/A dirPath child _trial_marker touch N/A N/A dirPath remove dummyRemove N/A N/A N/A util _removeSafely dirPath N/A N/A N/A self assertIn could not remove FilePath N/A N/A out getvalue N/A test_removeSafelyRemoveFailsMoveFails N/A N/A self N/A N/A N/A 
        If an L{OSError} is raised while removing a path in
        L{runner._removeSafely}, an attempt is made to move the path to a new
        name. If that attempt fails, the L{OSError} is re-raised.
         dummyRemove N/A N/A N/A N/A N/A 
            Raise an C{OSError} to emulate the branch of L{runner._removeSafely}
            in which path removal fails.
             N/A N/A OSError path removal failed N/A dummyMoveTo N/A N/A path N/A N/A N/A 
            Raise an C{OSError} to emulate the branch of L{runner._removeSafely}
            in which path movement fails.
             N/A N/A OSError path movement failed N/A N/A out N/A N/A StringIO StringIO N/A N/A N/A self patch sys stdout out N/A directory N/A N/A self mktemp N/A N/A N/A os mkdir directory N/A dirPath N/A N/A filepath FilePath directory N/A N/A N/A N/A N/A dirPath child _trial_marker touch N/A N/A dirPath remove dummyRemove N/A N/A dirPath moveTo dummyMoveTo N/A error N/A N/A self assertRaises OSError N/A util _removeSafely dirPath N/A N/A N/A self assertEqual N/A str error path movement failed N/A N/A N/A self assertIn could not remove FilePath N/A N/A out getvalue N/A N/A TestTrialSuite N/A N/A unittest TestCase N/A test_imports N/A N/A self N/A N/A twisted.trial.runner TrialSuite N/A N/A TestUntilFailure N/A N/A unittest TestCase N/A FailAfter N/A N/A unittest TestCase N/A N/A 
        A test  case that fails when run 3 times in a row.
         N/A count N/A test_foo N/A N/A self N/A N/A N/A N/A N/A N/A self count append None N/A N/A N/A len N/A self count 3 N/A N/A N/A N/A self fail Count reached 3 N/A N/A setUp N/A N/A self N/A N/A N/A N/A N/A TestUntilFailure FailAfter count N/A N/A N/A self test N/A N/A TestUntilFailure FailAfter test_foo N/A N/A self stream N/A N/A StringIO StringIO N/A N/A self runner N/A N/A runner TrialRunner N/A reporter Reporter stream N/A self stream N/A test_runUntilFailure N/A N/A self N/A N/A N/A 
        Test that the runUntilFailure method of the runner actually fail after
        a few runs.
         N/A result N/A N/A N/A self runner runUntilFailure N/A self test N/A N/A N/A self assertEqual N/A result testsRun 1 N/A N/A N/A self failIf N/A N/A result wasSuccessful N/A N/A N/A self assertEqual N/A N/A self _getFailures result 1 N/A _getFailures N/A N/A self result N/A N/A N/A 
        Get the number of failures that were reported to a result.
         N/A N/A len N/A result failures N/A test_runUntilFailureDecorate N/A N/A self N/A N/A N/A 
        C{runUntilFailure} doesn't decorate the tests uselessly: it does it one
        time when run starts, but not at each turn.
         N/A decorated N/A decorate N/A N/A test interface N/A N/A N/A N/A N/A decorated append N/A test interface N/A test N/A N/A N/A N/A self patch unittest decorate decorate N/A result N/A N/A N/A self runner runUntilFailure N/A self test N/A N/A N/A self assertEqual N/A result testsRun 1 N/A N/A N/A self assertEqual N/A len decorated 1 N/A N/A N/A self assertEqual decorated N/A N/A N/A self test ITestCase N/A test_runUntilFailureForceGCDecorate N/A N/A self N/A N/A N/A 
        C{runUntilFailure} applies the force-gc decoration after the standard
        L{ITestCase} decoration, but only one time.
         N/A decorated N/A decorate N/A N/A test interface N/A N/A N/A N/A N/A decorated append N/A test interface N/A test N/A N/A N/A N/A self patch unittest decorate decorate N/A N/A N/A self runner _forceGarbageCollection True N/A result N/A N/A N/A self runner runUntilFailure N/A self test N/A N/A N/A self assertEqual N/A result testsRun 1 N/A N/A N/A self assertEqual N/A len decorated 2 N/A N/A N/A self assertEqual decorated N/A N/A N/A self test ITestCase N/A N/A self test N/A unittest _ForceGarbageCollectionDecorator N/A N/A UncleanUntilFailureTests N/A TestUntilFailure N/A N/A 
    Test that the run-until-failure feature works correctly with the unclean
    error suppressor.
     setUp N/A N/A self N/A N/A N/A N/A N/A TestUntilFailure setUp self N/A N/A self runner N/A N/A runner TrialRunner N/A reporter Reporter stream N/A self stream uncleanWarnings True N/A _getFailures N/A N/A self result N/A N/A N/A 
        Get the number of failures that were reported to a result that
        is wrapped in an UncleanFailureWrapper.
         N/A N/A len N/A N/A result _originalReporter failures N/A N/A BreakingSuite N/A N/A runner TestSuite N/A N/A 
    A L{TestSuite} that logs an error when it is run.
     run N/A N/A self result N/A N/A N/A N/A N/A N/A RuntimeError error that occurs outside of a test N/A N/A N/A RuntimeError N/A N/A N/A N/A log err N/A N/A failure Failure N/A N/A TestLoggedErrors N/A N/A unittest TestCase N/A N/A 
    It is possible for an error generated by a test to be logged I{outside} of
    any test. The log observers constructed by L{TestCase} won't catch these
    errors. Here we try to generate such errors and ensure they are reported to
    a L{TestResult} object.
     tearDown N/A N/A self N/A N/A N/A N/A N/A self flushLoggedErrors RuntimeError N/A test_construct N/A N/A self N/A N/A N/A 
        Check that we can construct a L{runner.LoggedSuite} and that it
        starts empty.
         N/A suite N/A N/A runner LoggedSuite N/A N/A N/A self assertEqual N/A N/A suite countTestCases 0 N/A test_capturesError N/A N/A self N/A N/A N/A 
        Chek that a L{LoggedSuite} reports any logged errors to its result.
         N/A result N/A N/A reporter TestResult N/A suite N/A N/A runner LoggedSuite N/A N/A BreakingSuite N/A N/A N/A suite run result N/A N/A N/A self assertEqual N/A len N/A result errors 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A result errors N/A 0 N/A 0 id N/A runner NOT_IN_TEST N/A N/A N/A self failUnless N/A N/A N/A N/A N/A result errors N/A 0 N/A 1 check RuntimeError N/A N/A TestTestHolder N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self description description N/A N/A self holder N/A N/A runner TestHolder N/A self description N/A test_holder N/A N/A self N/A N/A N/A 
        Check that L{runner.TestHolder} takes a description as a parameter
        and that this description is returned by the C{id} and
        C{shortDescription} methods.
         N/A N/A N/A self assertEqual N/A N/A N/A self holder id N/A self description N/A N/A N/A self assertEqual N/A N/A N/A self holder shortDescription N/A self description N/A test_holderImplementsITestCase N/A N/A self N/A N/A N/A 
        L{runner.TestHolder} implements L{ITestCase}.
         N/A N/A N/A self assertIdentical N/A self holder N/A ITestCase N/A self holder N/A N/A N/A self assertTrue N/A verifyObject ITestCase N/A self holder N/A %r claims to provide %r but does not do so correctly. N/A N/A self holder ITestCase N/A test_runsWithStandardResult N/A N/A self N/A N/A N/A 
        A L{runner.TestHolder} can run against the standard Python
        C{TestResult}.
         N/A result N/A N/A pyunit TestResult N/A N/A N/A N/A self holder run result N/A N/A N/A self assertTrue N/A N/A result wasSuccessful N/A N/A N/A self assertEqual 1 N/A result testsRun N/A N/A ErrorHolderTestsMixin N/A object N/A N/A 
    This mixin defines test methods which can be applied to a
    L{runner.ErrorHolder} constructed with either a L{Failure} or a
    C{exc_info}-style tuple.

    Subclass this and implement C{setUp} to create C{self.holder} referring to a
    L{runner.ErrorHolder} instance and C{self.error} referring to a L{Failure}
    which the holder holds.
     N/A exceptionForTests N/A ZeroDivisionError integer division or modulo by zero TestResultStub N/A object N/A N/A 
        Stub for L{TestResult}.
         __init__ N/A N/A self N/A N/A N/A N/A self errors N/A N/A startTest N/A N/A self test N/A N/A N/A N/A stopTest N/A N/A self test N/A N/A N/A N/A addError N/A N/A self test error N/A N/A N/A N/A N/A N/A self errors append N/A test error N/A N/A test_runsWithStandardResult N/A N/A self N/A N/A N/A 
        A L{runner.ErrorHolder} can run against the standard Python
        C{TestResult}.
         N/A result N/A N/A pyunit TestResult N/A N/A N/A N/A self holder run result N/A N/A N/A self assertFalse N/A N/A result wasSuccessful N/A N/A N/A self assertEqual 1 N/A result testsRun N/A test_run N/A N/A self N/A N/A N/A 
        L{runner.ErrorHolder} adds an error to the result when run.
         N/A N/A N/A N/A self holder run N/A self result N/A N/A N/A self assertEqual N/A N/A self result errors N/A N/A N/A self holder N/A N/A N/A self error type N/A N/A self error value N/A N/A self error tb N/A test_call N/A N/A self N/A N/A N/A 
        L{runner.ErrorHolder} adds an error to the result when called.
         N/A N/A N/A self holder N/A self result N/A N/A N/A self assertEqual N/A N/A self result errors N/A N/A N/A self holder N/A N/A N/A self error type N/A N/A self error value N/A N/A self error tb N/A test_countTestCases N/A N/A self N/A N/A N/A 
        L{runner.ErrorHolder.countTestCases} always returns 0.
         N/A N/A N/A self assertEqual N/A N/A N/A self holder countTestCases 0 N/A test_repr N/A N/A self N/A N/A N/A 
        L{runner.ErrorHolder.__repr__} returns a string describing the error it
        holds.
         N/A N/A N/A self assertEqual N/A repr N/A self holder <ErrorHolder description='description' error=ZeroDivisionError('integer division or modulo by zero',)> N/A N/A FailureHoldingErrorHolderTests N/A ErrorHolderTestsMixin TestTestHolder N/A N/A 
    Tests for L{runner.ErrorHolder} behaving similarly to L{runner.TestHolder}
    when constructed with a L{Failure} representing its error.
     setUp N/A N/A self N/A N/A N/A N/A self description description N/A N/A N/A N/A self exceptionForTests N/A N/A N/A ZeroDivisionError N/A N/A N/A self error N/A N/A failure Failure N/A N/A self holder N/A N/A runner ErrorHolder N/A self description N/A self error N/A N/A self result N/A N/A self TestResultStub N/A N/A ExcInfoHoldingErrorHolderTests N/A ErrorHolderTestsMixin TestTestHolder N/A N/A 
    Tests for L{runner.ErrorHolder} behaving similarly to L{runner.TestHolder}
    when constructed with a C{exc_info}-style tuple representing its error.
     setUp N/A N/A self N/A N/A N/A N/A self description description N/A N/A N/A N/A self exceptionForTests N/A N/A N/A ZeroDivisionError N/A N/A exceptionInfo N/A N/A sys exc_info N/A N/A self error N/A N/A failure Failure N/A N/A self holder N/A N/A runner ErrorHolder N/A self description exceptionInfo N/A N/A self result N/A N/A self TestResultStub N/A N/A TestMalformedMethod N/A N/A unittest TestCase N/A N/A 
    Test that trial manages when test methods don't have correct signatures.
     ContainMalformed N/A N/A unittest TestCase N/A N/A 
        This TestCase holds malformed test methods that trial should handle.
         test_foo N/A N/A self blah N/A N/A N/A N/A test_bar N/A N/A N/A N/A N/A N/A N/A test_spam N/A N/A defer deferredGenerator test_bar N/A _test N/A N/A self method N/A N/A N/A 
        Wrapper for one of the test method of L{ContainMalformed}.
         N/A stream N/A N/A StringIO StringIO N/A trialRunner N/A N/A runner TrialRunner N/A reporter Reporter stream stream N/A test N/A N/A TestMalformedMethod ContainMalformed method N/A result N/A N/A trialRunner run test N/A N/A N/A self assertEqual N/A result testsRun 1 N/A N/A N/A self failIf N/A N/A result wasSuccessful N/A N/A N/A self assertEqual N/A len N/A result errors 1 N/A test_extraArg N/A N/A self N/A N/A N/A 
        Test when the method has extra (useless) arguments.
         N/A N/A N/A self _test test_foo N/A test_noArg N/A N/A self N/A N/A N/A 
        Test when the method doesn't have even self as argument.
         N/A N/A N/A self _test test_bar N/A test_decorated N/A N/A self N/A N/A N/A 
        Test a decorated method also fails.
         N/A N/A N/A self _test test_spam N/A N/A DestructiveTestSuiteTestCase N/A N/A unittest TestCase N/A N/A 
    Test for L{runner.DestructiveTestSuite}.
     test_basic N/A N/A self N/A N/A N/A 
        Thes destructive test suite should run the tests normally.
         N/A called N/A MockTest N/A N/A unittest TestCase N/A test_foo N/A N/A test N/A N/A N/A N/A N/A called append True N/A N/A N/A test N/A MockTest test_foo N/A result N/A N/A reporter TestResult N/A suite N/A N/A runner DestructiveTestSuite N/A test N/A N/A N/A self assertEqual called N/A N/A N/A N/A suite run result N/A N/A N/A self assertEqual called N/A True N/A N/A N/A self assertEqual N/A N/A suite countTestCases 0 N/A test_shouldStop N/A N/A self N/A N/A N/A 
        Test the C{shouldStop} management: raising a C{KeyboardInterrupt} must
        interrupt the suite.
         N/A called N/A MockTest N/A N/A unittest TestCase N/A test_foo1 N/A N/A test N/A N/A N/A N/A N/A called append 1 N/A test_foo2 N/A N/A test N/A N/A N/A N/A KeyboardInterrupt N/A test_foo3 N/A N/A test N/A N/A N/A N/A N/A called append 2 N/A N/A N/A result N/A N/A reporter TestResult N/A loader N/A N/A runner TestLoader N/A N/A loader suiteFactory N/A runner DestructiveTestSuite N/A suite N/A N/A loader loadClass MockTest N/A N/A N/A self assertEqual called N/A N/A N/A N/A suite run result N/A N/A N/A self assertEqual called N/A 1 N/A N/A N/A self assertEqual N/A N/A suite countTestCases 1 N/A test_cleanup N/A N/A self N/A N/A N/A 
        Checks that the test suite cleanups its tests during the run, so that
        it ends empty.
         MockTest N/A N/A unittest TestCase N/A test_foo N/A N/A test N/A N/A N/A N/A N/A N/A test N/A MockTest test_foo N/A result N/A N/A reporter TestResult N/A suite N/A N/A runner DestructiveTestSuite N/A test N/A N/A N/A self assertEqual N/A N/A suite countTestCases 1 N/A N/A N/A suite run result N/A N/A N/A self assertEqual N/A N/A suite countTestCases 0 N/A N/A TestRunnerDeprecation N/A N/A unittest TestCase N/A FakeReporter N/A N/A reporter Reporter N/A N/A 
        Fake reporter that does *not* implement done() but *does* implement
        printErrors, separator, printSummary, stream, write and writeln
        without deprecations.
         N/A done None N/A separator None N/A stream None printErrors N/A N/A self N/A args N/A N/A N/A printSummary N/A N/A self N/A args N/A N/A N/A write N/A N/A self N/A args N/A N/A N/A writeln N/A N/A self N/A args N/A N/A N/A N/A test_reporterDeprecations N/A N/A self N/A N/A N/A 
        The runner emits a warning if it is using a result that doesn't
        implement 'done'.
         N/A trialRunner N/A N/A runner TrialRunner None N/A result N/A N/A self FakeReporter N/A N/A trialRunner _makeResult N/A N/A N/A N/A result f N/A N/A N/A N/A N/A N/A N/A trialRunner run N/A N/A pyunit TestCase id N/A N/A N/A N/A self assertWarns DeprecationWarning N/A %s should implement done() but doesn't. Falling back to printErrors() and friends. N/A N/A reflect qual N/A result __class__ __file__ f N/A N/A