Module Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias Assign NameStore Str If NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return Call NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list decorator_list Assign NameStore BinOpMod Str NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore NameLoad FunctionDef arguments args defaults body Pass decorator_list Call NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr TryFinally body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr finalbody Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr Call NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str AttributeLoad NameLoad attr Str decorator_list Call NameLoad BinOpMod Str NameLoad NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list Call NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str Expr Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Return TupleLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list Call NameLoad BinOpMod Str NameLoad keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list Call NameLoad BinOpMod Str NameLoad keyword ListLoad Str Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword ListLoad Str Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list Call NameLoad BinOpMod Str NameLoad Call NameLoad BinOpMod Str NameLoad keyword ListLoad Str Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list Call NameLoad BinOpMod Str NameLoad keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list Call NameLoad BinOpMod Str NameLoad keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body TryExcept body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore TupleLoad Str decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list Assign NameStore Call Call NameLoad BinOpMod Str NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign SubscriptStore NameLoad Index Str Num Delete SubscriptDel NameLoad Index Str Assign SubscriptStore NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad Dict Str Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assign SubscriptStore NameLoad Index Str Num Delete SubscriptDel NameLoad Index Str Assign SubscriptStore NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad Dict Str Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad Dict Str Str keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str decorator_list Call AttributeLoad NameLoad attr NameLoad Dict Str Str keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict FunctionDef arguments args defaults body Pass decorator_list Call NameLoad BinOpMod Str NameLoad Call NameLoad Call NameLoad BinOpMod Str NameLoad Call NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict FunctionDef arguments args defaults body Raise Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr NameLoad Dict Str Str TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Dict Str Str Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Dict FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str Num NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str Num NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str decorator_list decorator_list Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad Dict Str Str keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases body Assign NameStore Str decorator_list For NameStore TupleLoad NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases body Assign NameStore Str decorator_list For NameStore TupleLoad NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str NameLoad Num Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str NameLoad Num Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword Num keyword Num keyword Num finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call Call NameLoad NameLoad keyword NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return Call NameLoad Num Num decorator_list Call NameLoad BinOpMod Str NameLoad keyword NameLoad keyword Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad BinOpMod Str NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore ListLoad decorator_list Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad Call NameLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Raise NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad TryExcept body Expr Call NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body For NameStore TupleLoad Str Str body Assign NameStore Dict NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call Call NameLoad NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Num Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call NameLoad BinOpAdd NameLoad Str FunctionDef arguments args NameParam defaults kwarg body Expr Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call NameLoad BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults kwarg body Expr Call NameLoad NameLoad NameLoad decorator_list Call NameLoad BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str Num FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str Num FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str Num For NameStore TupleLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Call AttributeLoad NameLoad attr NameLoad Str Num FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str Num FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str Num Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad For NameStore TupleLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Num Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Num Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Num Assign AttributeStore NameLoad attr Str For NameStore TupleLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults body Pass decorator_list NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Raise Call NameLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Num Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Num Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Assign AttributeStore NameLoad attr Str For NameStore TupleLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults body Pass decorator_list NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad Str TupleLoad NameLoad Dict Str Str Assign NameStore Call NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad Str Str NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str Str FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Dict Str Str Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad keyword Str NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str decorator_list Call NameLoad Str Str FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str Str body Assign NameStore Call NameLoad BinOpMod Str NameLoad Dict NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad Call NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str Str body Assign NameStore Call NameLoad BinOpMod Str NameLoad Dict NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A sys tests support tests.support unittest2 inPy3k SomeClass is_instance mock NonCallableMock CallableMixin patch sentinel MagicMock Mock NonCallableMagicMock patch DEFAULT call N/A builtin_string __builtin__ N/A inPy3k N/A N/A builtin_string builtins N/A unicode str N/A PTModule N/A N/A sys modules N/A __name__ _get_proxy N/A N/A obj get_only N/A True N/A Proxy N/A object N/A __getattr__ N/A N/A self name N/A N/A N/A N/A getattr obj name N/A N/A N/A N/A get_only N/A __setattr__ N/A N/A self name value N/A N/A N/A N/A setattr obj name value N/A __delattr__ N/A N/A self name N/A N/A N/A N/A delattr obj name N/A N/A N/A Proxy __setattr__ __setattr__ N/A N/A Proxy __delattr__ __delattr__ N/A N/A Proxy N/A N/A something N/A sentinel Something N/A something_else N/A sentinel SomethingElse Foo N/A object N/A __init__ N/A N/A self a N/A N/A N/A N/A f N/A N/A self a N/A N/A N/A N/A g N/A N/A self N/A N/A N/A N/A N/A foo bar Bar N/A object N/A a N/A N/A self N/A N/A N/A N/A N/A N/A N/A foo_name N/A %s.Foo __name__ function N/A N/A a b N/A Foo N/A N/A N/A Container N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self values N/A N/A __getitem__ N/A N/A self name N/A N/A N/A N/A N/A self values N/A name N/A __setitem__ N/A N/A self name value N/A N/A N/A N/A N/A self values N/A name value N/A __delitem__ N/A N/A self name N/A N/A N/A N/A N/A self values N/A name N/A __iter__ N/A N/A self N/A N/A N/A N/A iter N/A self values N/A N/A PatchTest N/A N/A unittest2 TestCase N/A assertNotCallable N/A N/A self obj magic N/A True N/A N/A MockClass NonCallableMagicMock N/A N/A magic N/A N/A MockClass NonCallableMock N/A N/A N/A self assertRaises TypeError obj N/A N/A N/A self assertTrue N/A is_instance obj MockClass N/A N/A N/A self assertFalse N/A is_instance obj CallableMixin N/A test_single_patchobject N/A N/A self N/A N/A Something N/A object N/A N/A attribute N/A sentinel Original N/A test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Patched unpatched N/A N/A N/A patch object Something attribute N/A sentinel Patched N/A N/A test N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Original patch not restored N/A test_patchobject_with_none N/A N/A self N/A N/A Something N/A object N/A N/A attribute N/A sentinel Original N/A test N/A N/A N/A N/A N/A N/A N/A self assertIsNone N/A Something attribute unpatched N/A N/A N/A patch object Something attribute None N/A N/A test N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Original patch not restored N/A test_multiple_patchobject N/A N/A self N/A N/A Something N/A object N/A N/A attribute N/A sentinel Original N/A next_attribute N/A sentinel Original2 N/A test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Patched unpatched N/A N/A N/A self assertEqual N/A Something next_attribute N/A sentinel Patched2 unpatched N/A N/A N/A patch object Something attribute N/A sentinel Patched N/A N/A patch object Something next_attribute N/A sentinel Patched2 N/A N/A test N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Original patch not restored N/A N/A N/A self assertEqual N/A Something next_attribute N/A sentinel Original2 patch not restored N/A test_object_lookup_is_quite_lazy N/A N/A self N/A N/A N/A something N/A original something test N/A N/A N/A N/A N/A N/A N/A patch N/A %s.something __name__ N/A sentinel Something2 N/A N/A N/A something N/A sentinel replacement_value N/A N/A test N/A N/A N/A self assertEqual something N/A sentinel replacement_value N/A N/A something original N/A test_patch N/A N/A self N/A N/A test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A PTModule something N/A sentinel Something2 unpatched N/A N/A patch N/A %s.something __name__ N/A sentinel Something2 N/A N/A test N/A N/A N/A self assertEqual N/A PTModule something N/A sentinel Something patch not restored test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A PTModule something N/A sentinel Something2 unpatched N/A N/A N/A self assertEqual N/A PTModule something_else N/A sentinel SomethingElse unpatched N/A N/A patch N/A %s.something __name__ N/A sentinel Something2 N/A patch N/A %s.something_else __name__ N/A sentinel SomethingElse N/A N/A N/A self assertEqual N/A PTModule something N/A sentinel Something patch not restored N/A N/A N/A self assertEqual N/A PTModule something_else N/A sentinel SomethingElse patch not restored N/A N/A test N/A N/A N/A self assertEqual N/A PTModule something N/A sentinel Something patch not restored N/A N/A N/A self assertEqual N/A PTModule something_else N/A sentinel SomethingElse patch not restored N/A mock N/A Mock N/A N/A mock return_value N/A sentinel Handle test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A open filename r N/A sentinel Handle open not patched N/A N/A patch N/A %s.open builtin_string mock N/A N/A test N/A N/A test N/A N/A N/A self assertNotEqual open mock patch not restored N/A test_patch_class_attribute N/A N/A self N/A N/A test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A N/A PTModule SomeClass class_attribute N/A sentinel ClassAttribute unpatched N/A N/A patch N/A %s.SomeClass.class_attribute __name__ N/A sentinel ClassAttribute N/A N/A test N/A N/A N/A self assertIsNone N/A N/A PTModule SomeClass class_attribute patch not restored N/A test_patchobject_with_default_mock N/A N/A self N/A N/A Test N/A object N/A N/A something N/A sentinel Original N/A something2 N/A sentinel Original2 N/A test N/A N/A mock N/A N/A N/A N/A N/A self assertEqual mock N/A Test something Mock not passed into test function N/A N/A N/A self assertIsInstance mock MagicMock patch with two arguments did not create a mock N/A N/A N/A patch object Test something N/A N/A test test N/A N/A this1 this2 mock1 mock2 N/A N/A N/A N/A N/A self assertEqual this1 N/A sentinel this1 Patched function didn't receive initial argument N/A N/A N/A self assertEqual this2 N/A sentinel this2 Patched function didn't receive second argument N/A N/A N/A self assertEqual mock1 N/A Test something2 Mock not passed into test function N/A N/A N/A self assertEqual mock2 N/A Test something Second Mock not passed into test function N/A N/A N/A self assertIsInstance mock2 MagicMock patch with two arguments did not create a mock N/A N/A N/A self assertIsInstance mock2 MagicMock patch with two arguments did not create a mock N/A N/A N/A self assertNotEqual outerMock1 mock1 unexpected value for mock1 N/A N/A N/A self assertNotEqual outerMock2 mock2 unexpected value for mock1 N/A N/A mock1 mock2 N/A N/A N/A patch object Test something N/A N/A patch object Test something2 N/A outerMock1 outerMock2 None N/A N/A outerMock1 outerMock2 N/A test N/A sentinel this1 N/A sentinel this2 N/A N/A test N/A sentinel this1 N/A sentinel this2 N/A test_patch_with_spec N/A N/A self N/A N/A test N/A N/A MockSomeClass N/A N/A N/A N/A N/A self assertEqual SomeClass MockSomeClass N/A N/A N/A self assertTrue N/A is_instance N/A SomeClass wibble MagicMock N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A SomeClass not_wibble N/A N/A patch N/A %s.SomeClass __name__ spec SomeClass N/A N/A test N/A test_patchobject_with_spec N/A N/A self N/A N/A test N/A N/A MockAttribute N/A N/A N/A N/A N/A self assertEqual N/A SomeClass class_attribute MockAttribute N/A N/A N/A self assertTrue N/A is_instance N/A N/A SomeClass class_attribute wibble MagicMock N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A N/A SomeClass class_attribute not_wibble N/A N/A N/A patch object SomeClass class_attribute spec SomeClass N/A N/A test N/A test_patch_with_spec_as_list N/A N/A self N/A N/A test N/A N/A MockSomeClass N/A N/A N/A N/A N/A self assertEqual SomeClass MockSomeClass N/A N/A N/A self assertTrue N/A is_instance N/A SomeClass wibble MagicMock N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A SomeClass not_wibble N/A N/A patch N/A %s.SomeClass __name__ spec N/A wibble N/A N/A test N/A test_patchobject_with_spec_as_list N/A N/A self N/A N/A test N/A N/A MockAttribute N/A N/A N/A N/A N/A self assertEqual N/A SomeClass class_attribute MockAttribute N/A N/A N/A self assertTrue N/A is_instance N/A N/A SomeClass class_attribute wibble MagicMock N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A N/A SomeClass class_attribute not_wibble N/A N/A N/A patch object SomeClass class_attribute spec N/A wibble N/A N/A test N/A test_nested_patch_with_spec_as_list N/A N/A self N/A N/A test N/A N/A MockSomeClass MockOpen N/A N/A N/A N/A N/A self assertEqual SomeClass MockSomeClass N/A N/A N/A self assertTrue N/A is_instance N/A SomeClass wibble MagicMock N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A SomeClass not_wibble N/A N/A patch N/A %s.open builtin_string N/A patch N/A %s.SomeClass __name__ spec N/A wibble N/A N/A test N/A test_patch_with_spec_as_boolean N/A N/A self N/A N/A test N/A N/A MockSomeClass N/A N/A N/A N/A N/A self assertEqual SomeClass MockSomeClass N/A N/A MockSomeClass wibble N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A MockSomeClass not_wibble N/A N/A patch N/A %s.SomeClass __name__ spec True N/A N/A test N/A test_patch_object_with_spec_as_boolean N/A N/A self N/A N/A test N/A N/A MockSomeClass N/A N/A N/A N/A N/A self assertEqual SomeClass MockSomeClass N/A N/A MockSomeClass wibble N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A MockSomeClass not_wibble N/A N/A N/A patch object PTModule SomeClass spec True N/A N/A test N/A test_patch_class_acts_with_spec_is_inherited N/A N/A self N/A N/A test N/A N/A MockSomeClass N/A N/A N/A N/A N/A self assertTrue N/A is_instance MockSomeClass MagicMock N/A instance N/A MockSomeClass N/A N/A N/A self assertNotCallable instance N/A N/A instance wibble N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A instance not_wibble N/A N/A patch N/A %s.SomeClass __name__ spec True N/A N/A test N/A test_patch_with_create_mocks_non_existent_attributes N/A N/A self N/A N/A test N/A N/A N/A N/A N/A N/A N/A self assertEqual frooble N/A sentinel Frooble N/A N/A patch N/A %s.frooble builtin_string N/A sentinel Frooble create True N/A N/A test N/A N/A N/A self assertRaises NameError N/A N/A N/A N/A frooble N/A test_patchobject_with_create_mocks_non_existent_attributes N/A N/A self N/A N/A test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A SomeClass frooble N/A sentinel Frooble N/A N/A N/A patch object SomeClass frooble N/A sentinel Frooble create True N/A N/A test N/A N/A N/A self assertFalse N/A hasattr SomeClass frooble N/A test_patch_wont_create_by_default N/A N/A self N/A N/A N/A N/A test N/A N/A N/A N/A N/A N/A N/A self assertEqual frooble N/A sentinel Frooble N/A N/A patch N/A %s.frooble builtin_string N/A sentinel Frooble N/A N/A test N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A self fail Patching non existent attributes should fail N/A N/A N/A self assertRaises NameError N/A N/A N/A N/A frooble N/A test_patchobject_wont_create_by_default N/A N/A self N/A N/A N/A N/A test N/A N/A N/A N/A N/A N/A N/A self fail Patching non existent attributes should fail N/A N/A N/A patch object SomeClass frooble N/A sentinel Frooble N/A N/A test N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A self fail Patching non existent attributes should fail N/A N/A N/A self assertFalse N/A hasattr SomeClass frooble N/A test_patch_with_static_methods N/A N/A self N/A N/A Foo N/A object N/A woot N/A N/A N/A N/A N/A N/A sentinel Static N/A staticmethod N/A anonymous N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A N/A Foo woot N/A sentinel Patched N/A N/A N/A patch object Foo woot N/A staticmethod N/A N/A N/A N/A N/A sentinel Patched N/A N/A anonymous N/A N/A N/A self assertEqual N/A N/A Foo woot N/A sentinel Static N/A test_patch_local N/A N/A self N/A N/A N/A foo N/A sentinel Foo anonymous N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A sentinel Foo Foo N/A N/A N/A patch object sentinel Foo Foo N/A N/A anonymous N/A N/A N/A self assertEqual N/A sentinel Foo foo N/A test_patch_slots N/A N/A self N/A N/A Foo N/A object N/A N/A __slots__ N/A Foo N/A N/A foo N/A Foo N/A N/A foo Foo N/A sentinel Foo anonymous N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A foo Foo Foo N/A N/A N/A patch object foo Foo Foo N/A N/A anonymous N/A N/A N/A self assertEqual N/A foo Foo N/A sentinel Foo N/A test_patchobject_class_decorator N/A N/A self N/A N/A Something N/A object N/A N/A attribute N/A sentinel Original N/A Foo N/A object N/A test_method N/A N/A other_self N/A N/A N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Patched unpatched N/A not_test_method N/A N/A other_self N/A N/A N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Original non-test method patched N/A N/A N/A Foo N/A N/A N/A patch object Something attribute N/A sentinel Patched Foo N/A f N/A Foo N/A N/A N/A f test_method N/A N/A N/A f not_test_method N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Original patch not restored N/A test_patch_class_decorator N/A N/A self N/A N/A Something N/A object N/A N/A attribute N/A sentinel Original N/A Foo N/A object N/A test_method N/A N/A other_self mock_something N/A N/A N/A N/A N/A self assertEqual N/A PTModule something mock_something unpatched N/A not_test_method N/A N/A other_self N/A N/A N/A N/A N/A self assertEqual N/A PTModule something N/A sentinel Something non-test method patched N/A N/A N/A Foo N/A N/A patch N/A %s.something __name__ Foo N/A f N/A Foo N/A N/A N/A f test_method N/A N/A N/A f not_test_method N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Original patch not restored N/A N/A N/A self assertEqual N/A PTModule something N/A sentinel Something patch not restored N/A test_patchobject_twice N/A N/A self N/A N/A Something N/A object N/A N/A attribute N/A sentinel Original N/A next_attribute N/A sentinel Original2 N/A test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Patched unpatched N/A N/A N/A patch object Something attribute N/A sentinel Patched N/A N/A patch object Something attribute N/A sentinel Patched N/A N/A test N/A N/A N/A self assertEqual N/A Something attribute N/A sentinel Original patch not restored N/A test_patch_dict N/A N/A self N/A N/A N/A foo N/A initial other N/A object something N/A original N/A N/A foo copy test N/A N/A N/A N/A N/A N/A foo N/A a 3 N/A N/A foo N/A initial N/A N/A foo N/A other something else N/A N/A N/A patch dict foo N/A N/A test N/A N/A N/A self assertEqual foo original test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A len foo 3 N/A N/A N/A self assertEqual N/A foo N/A a b N/A N/A N/A patch dict foo N/A a b N/A N/A test N/A N/A N/A self assertEqual foo original test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A len foo 3 N/A N/A N/A self assertEqual N/A foo N/A a b N/A N/A N/A patch dict foo N/A N/A a b N/A N/A test N/A N/A N/A self assertEqual foo original N/A test_patch_dict_with_container_object N/A N/A self N/A N/A N/A foo N/A Container N/A N/A foo N/A initial N/A object N/A N/A foo N/A other something N/A original N/A N/A N/A foo values copy test N/A N/A N/A N/A N/A N/A foo N/A a 3 N/A N/A foo N/A initial N/A N/A foo N/A other something else N/A N/A N/A patch dict foo N/A N/A test N/A N/A N/A self assertEqual N/A foo values original test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A len N/A foo values 3 N/A N/A N/A self assertEqual N/A foo N/A a b N/A N/A N/A patch dict foo N/A a b N/A N/A test N/A N/A N/A self assertEqual N/A foo values original N/A test_patch_dict_with_clear N/A N/A self N/A N/A N/A foo N/A initial other N/A object something N/A original N/A N/A foo copy test N/A N/A N/A N/A N/A N/A N/A self assertEqual foo N/A N/A N/A foo N/A a 3 N/A N/A foo N/A other something else N/A N/A N/A patch dict foo clear True N/A N/A test N/A N/A N/A self assertEqual foo original test N/A N/A N/A N/A N/A N/A N/A self assertEqual foo N/A a b N/A N/A N/A patch dict foo N/A a b clear True N/A N/A test N/A N/A N/A self assertEqual foo original test N/A N/A N/A N/A N/A N/A N/A self assertEqual foo N/A a b N/A N/A N/A patch dict foo N/A N/A a b clear True N/A N/A test N/A N/A N/A self assertEqual foo original N/A test_patch_dict_with_container_object_and_clear N/A N/A self N/A N/A N/A foo N/A Container N/A N/A foo N/A initial N/A object N/A N/A foo N/A other something N/A original N/A N/A N/A foo values copy test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A foo values N/A N/A N/A foo N/A a 3 N/A N/A foo N/A other something else N/A N/A N/A patch dict foo clear True N/A N/A test N/A N/A N/A self assertEqual N/A foo values original test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A foo values N/A a b N/A N/A N/A patch dict foo N/A a b clear True N/A N/A test N/A N/A N/A self assertEqual N/A foo values original N/A test_name_preserved N/A N/A self N/A N/A N/A foo N/A some_name N/A N/A N/A N/A N/A N/A N/A patch N/A %s.SomeClass __name__ N/A object N/A patch N/A %s.SomeClass __name__ N/A object mocksignature True N/A N/A patch object SomeClass N/A object N/A N/A patch dict foo N/A N/A N/A self assertEqual N/A some_name __name__ some_name N/A test_patch_with_exception N/A N/A self N/A N/A N/A foo N/A test N/A N/A N/A N/A N/A N/A NameError Konrad N/A N/A N/A patch dict foo N/A a b N/A N/A N/A N/A test N/A N/A N/A NameError N/A N/A N/A N/A N/A N/A self fail NameError not raised by test N/A N/A N/A self assertEqual foo N/A N/A test_patch_dict_with_string N/A N/A self N/A N/A test N/A N/A N/A N/A N/A N/A N/A self assertIn konrad_delong N/A os environ N/A N/A N/A patch dict os.environ N/A konrad_delong some value N/A N/A test N/A test_patch_descriptor N/A N/A self N/A N/A Nothing N/A object N/A N/A foo None N/A Something N/A object N/A N/A foo N/A klass N/A N/A cls N/A N/A N/A N/A N/A self assertIs cls Something N/A N/A N/A patch object Nothing foo 2 classmethod static N/A N/A arg N/A N/A N/A arg N/A N/A N/A patch object Nothing foo 2 staticmethod klass_dict N/A N/A cls N/A N/A N/A N/A N/A self assertIs cls Something N/A N/A N/A patch dict foo classmethod static_dict N/A N/A arg N/A N/A N/A arg N/A N/A N/A patch dict foo staticmethod N/A N/A N/A N/A self assertEqual N/A N/A Something static f00 f00 N/A N/A N/A Something klass N/A N/A N/A self assertEqual N/A N/A Something static_dict f00 f00 N/A N/A N/A Something klass_dict N/A something N/A Something N/A N/A N/A self assertEqual N/A N/A something static f00 f00 N/A N/A N/A something klass N/A N/A N/A self assertEqual N/A N/A something static_dict f00 f00 N/A N/A N/A something klass_dict N/A N/A unittest2 expectedFailure test_patch_spec_set N/A N/A self N/A N/A test N/A N/A MockClass N/A N/A N/A N/A MockClass z foo N/A N/A patch N/A %s.SomeClass __name__ spec SomeClass spec_set True N/A N/A N/A self assertRaises AttributeError test test N/A N/A MockClass N/A N/A N/A N/A MockClass z foo N/A N/A N/A patch object support SomeClass spec SomeClass spec_set True N/A N/A N/A self assertRaises AttributeError test test N/A N/A MockClass N/A N/A N/A N/A MockClass z foo N/A N/A patch N/A %s.SomeClass __name__ spec_set True N/A N/A N/A self assertRaises AttributeError test test N/A N/A MockClass N/A N/A N/A N/A MockClass z foo N/A N/A N/A patch object support SomeClass spec_set True N/A N/A N/A self assertRaises AttributeError test N/A test_spec_set_inherit N/A N/A self N/A N/A test N/A N/A MockClass N/A N/A N/A instance N/A MockClass N/A N/A instance z foo N/A N/A patch N/A %s.SomeClass __name__ spec_set True N/A N/A N/A self assertRaises AttributeError test N/A test_patch_start_stop N/A N/A self N/A N/A N/A original something N/A patcher N/A patch N/A %s.something __name__ N/A N/A N/A self assertIs something original N/A mock N/A N/A patcher start N/A N/A N/A self assertIsNot mock original N/A N/A N/A N/A N/A self assertIs something mock N/A N/A N/A N/A patcher stop N/A N/A N/A self assertIs something original N/A test_stop_without_start N/A N/A self N/A N/A N/A patcher N/A patch foo_name bar 3 N/A N/A N/A self assertRaises RuntimeError N/A patcher stop N/A test_patchobject_start_stop N/A N/A self N/A N/A N/A original something N/A patcher N/A N/A patch object PTModule something foo N/A N/A N/A self assertIs something original N/A replaced N/A N/A patcher start N/A N/A N/A self assertEqual replaced foo N/A N/A N/A N/A N/A self assertIs something replaced N/A N/A N/A N/A patcher stop N/A N/A N/A self assertIs something original N/A test_patch_dict_start_stop N/A N/A self N/A N/A N/A d N/A foo bar N/A original N/A N/A d copy N/A patcher N/A N/A patch dict d N/A N/A spam eggs clear True N/A N/A N/A self assertEqual d original N/A N/A N/A patcher start N/A N/A N/A self assertEqual d N/A spam eggs N/A N/A N/A patcher stop N/A N/A N/A self assertEqual d original N/A test_patch_dict_class_decorator N/A N/A self N/A N/A N/A this self N/A d N/A spam eggs N/A original N/A N/A d copy Test N/A object N/A test_first N/A N/A self N/A N/A N/A N/A N/A this assertEqual d N/A foo bar N/A test_second N/A N/A self N/A N/A N/A N/A N/A this assertEqual d N/A foo bar N/A N/A N/A Test N/A N/A N/A patch dict d N/A foo bar clear True Test N/A N/A N/A self assertEqual d original N/A test N/A Test N/A N/A N/A test test_first N/A N/A N/A self assertEqual d original N/A N/A N/A test test_second N/A N/A N/A self assertEqual d original N/A test N/A Test N/A N/A N/A test test_first N/A N/A N/A self assertEqual d original N/A N/A N/A test test_second N/A N/A N/A self assertEqual d original N/A test_get_only_proxy N/A N/A self N/A N/A Something N/A object N/A N/A foo foo N/A SomethingElse N/A N/A N/A foo foo N/A N/A thing N/A Something SomethingElse N/A Something SomethingElse N/A N/A proxy N/A _get_proxy thing test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A proxy foo bar N/A N/A N/A patch object proxy foo bar N/A N/A test N/A N/A N/A self assertEqual N/A proxy foo foo N/A N/A N/A self assertEqual N/A thing foo foo N/A N/A N/A self assertNotIn foo N/A proxy __dict__ N/A test_get_set_delete_proxy N/A N/A self N/A N/A Something N/A object N/A N/A foo foo N/A SomethingElse N/A N/A N/A foo foo N/A N/A thing N/A Something SomethingElse N/A Something SomethingElse N/A N/A proxy N/A _get_proxy Something get_only False test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A proxy foo bar N/A N/A N/A patch object proxy foo bar N/A N/A test N/A N/A N/A self assertEqual N/A proxy foo foo N/A N/A N/A self assertEqual N/A thing foo foo N/A N/A N/A self assertNotIn foo N/A proxy __dict__ N/A test_patch_keyword_args N/A N/A self N/A N/A N/A kwargs N/A side_effect foo.bar.return_value foo KeyError 33 N/A MagicMock N/A patcher N/A patch foo_name kwargs N/A mock N/A N/A patcher start N/A N/A N/A patcher stop N/A N/A N/A self assertRaises KeyError mock N/A N/A N/A self assertEqual N/A N/A N/A mock foo bar 33 N/A N/A N/A self assertIsInstance N/A mock foo MagicMock N/A test_patch_object_keyword_args N/A N/A self N/A N/A N/A kwargs N/A side_effect foo.bar.return_value foo KeyError 33 N/A MagicMock N/A patcher N/A N/A patch object Foo f kwargs N/A mock N/A N/A patcher start N/A N/A N/A patcher stop N/A N/A N/A self assertRaises KeyError mock N/A N/A N/A self assertEqual N/A N/A N/A mock foo bar 33 N/A N/A N/A self assertIsInstance N/A mock foo MagicMock N/A test_patch_dict_keyword_args N/A N/A self N/A N/A N/A original N/A foo bar N/A copy N/A N/A original copy N/A patcher N/A N/A patch dict original foo 3 bar 4 baz 5 N/A N/A N/A patcher start N/A N/A N/A N/A N/A self assertEqual original N/A dict foo 3 bar 4 baz 5 N/A N/A N/A N/A patcher stop N/A N/A N/A self assertEqual original copy N/A test_autospec N/A N/A self N/A N/A Boo N/A object N/A __init__ N/A N/A self a N/A N/A N/A N/A f N/A N/A self a N/A N/A N/A N/A g N/A N/A self N/A N/A N/A N/A N/A foo bar Bar N/A object N/A a N/A N/A self N/A N/A N/A N/A N/A N/A _test N/A N/A mock N/A N/A N/A N/A mock 1 N/A N/A N/A mock assert_called_with 1 N/A N/A N/A self assertRaises TypeError mock N/A _test2 N/A N/A mock N/A N/A N/A N/A N/A mock f 1 N/A N/A N/A N/A mock f assert_called_with 1 N/A N/A N/A self assertRaises TypeError N/A mock f N/A N/A N/A mock g N/A N/A N/A N/A mock g assert_called_with N/A N/A N/A self assertRaises TypeError N/A mock g 1 N/A N/A N/A self assertRaises AttributeError getattr mock h N/A N/A N/A N/A mock foo lower N/A N/A N/A N/A N/A mock foo lower assert_called_with N/A N/A N/A self assertRaises AttributeError getattr N/A mock foo bar N/A N/A N/A mock Bar N/A N/A N/A N/A mock Bar assert_called_with N/A N/A N/A N/A mock Bar a N/A N/A N/A N/A N/A mock Bar a assert_called_with N/A N/A N/A self assertRaises TypeError N/A N/A mock Bar a 1 N/A N/A N/A N/A N/A mock Bar a N/A N/A N/A N/A N/A N/A mock Bar a assert_called_with N/A N/A N/A self assertRaises TypeError N/A N/A N/A mock Bar a 1 N/A N/A N/A self assertRaises AttributeError getattr N/A mock Bar b N/A N/A N/A self assertRaises AttributeError getattr N/A N/A mock Bar b N/A function N/A N/A mock N/A N/A N/A N/A _test mock N/A N/A _test2 mock N/A N/A _test2 N/A mock 1 N/A N/A N/A self assertIs mock Foo N/A mock N/A N/A test N/A N/A patch foo_name autospec True function N/A mock N/A test N/A N/A N/A self assertIsNot Foo mock N/A N/A test N/A module N/A N/A sys modules N/A __name__ N/A test N/A N/A N/A patch object module Foo autospec True function N/A mock N/A test N/A N/A N/A self assertIsNot Foo mock N/A N/A test N/A test_autospec_function N/A N/A self N/A N/A test N/A N/A mock N/A N/A N/A N/A function 1 N/A N/A N/A function assert_called_with 1 N/A N/A function 2 3 N/A N/A N/A function assert_called_with 2 3 N/A N/A N/A self assertRaises TypeError function N/A N/A N/A self assertRaises AttributeError getattr function foo N/A N/A patch N/A %s.function __name__ autospec True N/A N/A test N/A test_autospec_keywords N/A N/A self N/A N/A test N/A N/A mock_function N/A N/A N/A N/A function 1 2 N/A N/A patch N/A %s.function __name__ autospec True return_value 3 N/A result N/A test N/A N/A N/A self assertEqual result 3 N/A test_autospec_with_new N/A N/A self N/A N/A N/A patcher N/A patch N/A %s.function __name__ new 3 autospec True N/A N/A N/A self assertRaises TypeError N/A patcher start N/A module N/A N/A sys modules N/A __name__ N/A patcher N/A N/A patch object module function new 3 autospec True N/A N/A N/A self assertRaises TypeError N/A patcher start N/A test_autospec_with_object N/A N/A self N/A N/A Bar N/A Foo N/A N/A extra N/A N/A N/A patcher N/A patch foo_name autospec Bar N/A mock N/A N/A patcher start N/A N/A N/A N/A N/A self assertIsInstance mock Bar N/A N/A N/A self assertIsInstance N/A mock extra list N/A N/A N/A N/A patcher stop N/A test_autospec_inherits N/A N/A self N/A N/A N/A FooClass Foo N/A patcher N/A patch foo_name autospec True N/A mock N/A N/A patcher start N/A N/A N/A N/A N/A self assertIsInstance mock FooClass N/A N/A N/A self assertIsInstance N/A mock 3 FooClass N/A N/A N/A N/A patcher stop N/A test_autospec_name N/A N/A self N/A N/A N/A patcher N/A patch foo_name autospec True N/A mock N/A N/A patcher start N/A N/A N/A N/A N/A self assertIn  name='Foo' N/A repr mock N/A N/A N/A self assertIn  name='Foo.f' N/A repr N/A mock f N/A N/A N/A self assertIn  name='Foo()' N/A repr N/A mock None N/A N/A N/A self assertIn  name='Foo().f' N/A repr N/A N/A mock None f N/A N/A N/A N/A patcher stop N/A test_tracebacks N/A N/A self N/A N/A test N/A N/A N/A N/A N/A AssertionError N/A N/A N/A patch object Foo f N/A object N/A N/A N/A N/A test N/A N/A N/A N/A err N/A N/A sys exc_info N/A result N/A N/A unittest2 TextTestResult None None 0 N/A traceback N/A N/A result _exc_info_to_string err self N/A N/A N/A self assertIn raise AssertionError traceback N/A test_new_callable_patch N/A N/A self N/A N/A N/A patcher N/A patch foo_name new_callable NonCallableMagicMock N/A m1 N/A N/A patcher start N/A N/A N/A patcher stop N/A m2 N/A N/A patcher start N/A N/A N/A patcher stop N/A N/A N/A self assertIsNot m1 m2 N/A mock N/A m1 m2 N/A N/A N/A N/A self assertNotCallable m1 N/A test_new_callable_patch_object N/A N/A self N/A N/A N/A patcher N/A N/A patch object Foo f new_callable NonCallableMagicMock N/A m1 N/A N/A patcher start N/A N/A N/A patcher stop N/A m2 N/A N/A patcher start N/A N/A N/A patcher stop N/A N/A N/A self assertIsNot m1 m2 N/A mock N/A m1 m2 N/A N/A N/A N/A self assertNotCallable m1 N/A test_new_callable_keyword_arguments N/A N/A self N/A N/A Bar N/A object N/A N/A kwargs None __init__ N/A N/A self N/A kwargs N/A N/A N/A Bar kwargs kwargs N/A N/A N/A patcher N/A patch foo_name new_callable Bar arg1 1 arg2 2 N/A m N/A N/A patcher start N/A N/A N/A N/A N/A self assertIs N/A type m Bar N/A N/A N/A self assertEqual N/A Bar kwargs N/A dict arg1 1 arg2 2 N/A N/A N/A N/A patcher stop N/A test_new_callable_spec N/A N/A self N/A N/A Bar N/A object N/A N/A kwargs None __init__ N/A N/A self N/A kwargs N/A N/A N/A Bar kwargs kwargs N/A N/A N/A patcher N/A patch foo_name new_callable Bar spec Bar N/A N/A N/A patcher start N/A N/A N/A N/A N/A self assertEqual N/A Bar kwargs N/A dict spec Bar N/A N/A N/A N/A patcher stop N/A patcher N/A patch foo_name new_callable Bar spec_set Bar N/A N/A N/A patcher start N/A N/A N/A N/A N/A self assertEqual N/A Bar kwargs N/A dict spec_set Bar N/A N/A N/A N/A patcher stop N/A test_new_callable_create N/A N/A self N/A N/A N/A non_existent_attr N/A %s.weeeee foo_name N/A p N/A patch non_existent_attr new_callable NonCallableMock N/A N/A N/A self assertRaises AttributeError N/A p start N/A p N/A patch non_existent_attr new_callable NonCallableMock create True N/A m N/A N/A p start N/A N/A N/A N/A N/A self assertNotCallable m magic False N/A N/A N/A N/A p stop N/A test_new_callable_incompatible_with_new N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError patch foo_name new N/A object new_callable MagicMock N/A N/A N/A self assertRaises ValueError N/A patch object Foo f new N/A object new_callable MagicMock N/A test_new_callable_incompatible_with_autospec N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError patch foo_name new_callable MagicMock autospec True N/A N/A N/A self assertRaises ValueError N/A patch object Foo f new_callable MagicMock autospec True N/A test_new_callable_inherit_for_mocks N/A N/A self N/A N/A MockSub N/A Mock N/A N/A N/A N/A MockClasses N/A NonCallableMock NonCallableMagicMock MagicMock Mock MockSub N/A Klass MockClasses N/A N/A arg N/A spec spec_set N/A N/A kwargs N/A arg True N/A p N/A patch foo_name new_callable Klass kwargs N/A m N/A N/A p start N/A N/A N/A instance N/A m return_value N/A N/A N/A self assertRaises AttributeError getattr instance x N/A N/A N/A N/A p stop N/A test_new_callable_inherit_non_mock N/A N/A self N/A N/A NotAMock N/A object N/A __init__ N/A N/A self spec N/A N/A N/A N/A self spec spec N/A N/A N/A p N/A patch foo_name new_callable NotAMock spec True N/A m N/A N/A p start N/A N/A N/A N/A N/A self assertTrue N/A is_instance m NotAMock N/A N/A N/A self assertRaises AttributeError getattr m return_value N/A N/A N/A N/A p stop N/A N/A N/A self assertEqual N/A m spec Foo N/A test_new_callable_class_decorating N/A N/A self N/A N/A N/A test self N/A original Foo SomeTest N/A object N/A _test N/A N/A self mock_foo N/A N/A N/A N/A N/A test assertIsNot Foo original N/A N/A N/A test assertIs Foo mock_foo N/A N/A N/A test assertIsInstance Foo SomeClass N/A test_two N/A N/A self mock_foo N/A N/A N/A N/A N/A self _test mock_foo N/A test_one N/A N/A self mock_foo N/A N/A N/A N/A N/A self _test mock_foo N/A N/A N/A SomeTest N/A N/A patch foo_name new_callable SomeClass SomeTest N/A N/A N/A N/A SomeTest test_one N/A N/A N/A N/A SomeTest test_two N/A N/A N/A self assertIs Foo original N/A test_patch_multiple N/A N/A self N/A N/A N/A original_foo Foo N/A original_f N/A Foo f N/A original_g N/A Foo g N/A patcher1 N/A N/A patch multiple foo_name f 1 g 2 N/A patcher2 N/A N/A patch multiple Foo f 1 g 2 N/A patcher N/A patcher1 patcher2 N/A N/A N/A N/A patcher start N/A N/A N/A N/A N/A self assertIs Foo original_foo N/A N/A N/A self assertEqual N/A Foo f 1 N/A N/A N/A self assertEqual N/A Foo g 2 N/A N/A N/A N/A patcher stop N/A N/A N/A self assertIs Foo original_foo N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g test N/A N/A N/A N/A N/A N/A N/A self assertIs Foo original_foo N/A N/A N/A self assertEqual N/A Foo f 3 N/A N/A N/A self assertEqual N/A Foo g 4 N/A N/A N/A patch multiple foo_name f 3 g 4 N/A N/A test N/A test_patch_multiple_no_kwargs N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A patch multiple foo_name N/A N/A N/A self assertRaises ValueError N/A patch multiple Foo N/A test_patch_multiple_create_mocks N/A N/A self N/A N/A N/A original_foo Foo N/A original_f N/A Foo f N/A original_g N/A Foo g test N/A N/A f foo N/A N/A N/A N/A N/A self assertIs Foo original_foo N/A N/A N/A self assertIs N/A Foo f f N/A N/A N/A self assertEqual N/A Foo g 3 N/A N/A N/A self assertIs N/A Foo foo foo N/A N/A N/A self assertTrue N/A is_instance f MagicMock N/A N/A N/A self assertTrue N/A is_instance foo MagicMock N/A N/A N/A patch multiple foo_name f DEFAULT g 3 foo DEFAULT N/A N/A test N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A test_patch_multiple_create_mocks_different_order N/A N/A self N/A N/A N/A original_f N/A Foo f N/A original_g N/A Foo g N/A patcher N/A N/A patch object Foo f 3 N/A N/A patcher attribute_name f N/A other N/A N/A patch object Foo g DEFAULT N/A N/A other attribute_name g N/A N/A patcher additional_patchers N/A other test N/A N/A g N/A N/A N/A N/A N/A self assertIs N/A Foo g g N/A N/A N/A self assertEqual N/A Foo f 3 N/A patcher N/A N/A test N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A test_patch_multiple_stacked_decorators N/A N/A self N/A N/A N/A original_foo Foo N/A original_f N/A Foo f N/A original_g N/A Foo g test1 N/A N/A g N/A kwargs N/A N/A N/A _test g kwargs N/A N/A N/A patch multiple foo_name f DEFAULT N/A N/A patch multiple foo_name foo DEFAULT N/A patch N/A foo_name .g test2 N/A N/A g N/A kwargs N/A N/A N/A _test g kwargs N/A N/A N/A patch multiple foo_name f DEFAULT N/A patch N/A foo_name .g N/A N/A patch multiple foo_name foo DEFAULT test3 N/A N/A g N/A kwargs N/A N/A N/A _test g kwargs N/A N/A patch N/A foo_name .g N/A N/A patch multiple foo_name f DEFAULT N/A N/A patch multiple foo_name foo DEFAULT _test N/A N/A g N/A kwargs N/A N/A f N/A N/A kwargs pop f N/A foo N/A N/A kwargs pop foo N/A N/A N/A self assertFalse kwargs N/A N/A N/A self assertIs Foo original_foo N/A N/A N/A self assertIs N/A Foo f f N/A N/A N/A self assertIs N/A Foo g g N/A N/A N/A self assertIs N/A Foo foo foo N/A N/A N/A self assertTrue N/A is_instance f MagicMock N/A N/A N/A self assertTrue N/A is_instance g MagicMock N/A N/A N/A self assertTrue N/A is_instance foo MagicMock N/A N/A N/A test1 N/A N/A test2 N/A N/A test3 N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A test_patch_multiple_create_mocks_patcher N/A N/A self N/A N/A N/A original_foo Foo N/A original_f N/A Foo f N/A original_g N/A Foo g N/A patcher N/A N/A patch multiple foo_name f DEFAULT g 3 foo DEFAULT N/A result N/A N/A patcher start N/A N/A N/A f N/A result N/A f N/A foo N/A result N/A foo N/A N/A N/A self assertEqual N/A set result N/A set N/A f foo N/A N/A N/A self assertIs Foo original_foo N/A N/A N/A self assertIs N/A Foo f f N/A N/A N/A self assertIs N/A Foo foo foo N/A N/A N/A self assertTrue N/A is_instance f MagicMock N/A N/A N/A self assertTrue N/A is_instance foo MagicMock N/A N/A N/A N/A patcher stop N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A test_patch_multiple_decorating_class N/A N/A self N/A N/A N/A test self N/A original_foo Foo N/A original_f N/A Foo f N/A original_g N/A Foo g SomeTest N/A object N/A _test N/A N/A self f foo N/A N/A N/A N/A N/A test assertIs Foo original_foo N/A N/A N/A test assertIs N/A Foo f f N/A N/A N/A test assertEqual N/A Foo g 3 N/A N/A N/A test assertIs N/A Foo foo foo N/A N/A N/A test assertTrue N/A is_instance f MagicMock N/A N/A N/A test assertTrue N/A is_instance foo MagicMock N/A test_two N/A N/A self f foo N/A N/A N/A N/A N/A self _test f foo N/A test_one N/A N/A self f foo N/A N/A N/A N/A N/A self _test f foo N/A N/A N/A SomeTest N/A N/A N/A patch multiple foo_name f DEFAULT g 3 foo DEFAULT SomeTest N/A thing N/A SomeTest N/A N/A N/A thing test_one N/A N/A N/A thing test_two N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A test_patch_multiple_create N/A N/A self N/A N/A N/A patcher N/A N/A patch multiple Foo blam blam N/A N/A N/A self assertRaises AttributeError N/A patcher start N/A patcher N/A N/A patch multiple Foo blam blam create True N/A N/A N/A patcher start N/A N/A N/A N/A N/A self assertEqual N/A Foo blam blam N/A N/A N/A N/A patcher stop N/A N/A N/A self assertFalse N/A hasattr Foo blam N/A test_patch_multiple_spec_set N/A N/A self N/A N/A N/A patcher N/A N/A patch multiple Foo foo DEFAULT spec_set N/A a b N/A result N/A N/A patcher start N/A N/A N/A N/A N/A self assertEqual N/A Foo foo N/A result N/A foo N/A N/A N/A N/A Foo foo a 1 N/A N/A N/A N/A Foo foo b 2 N/A N/A N/A N/A N/A Foo foo a assert_called_with 1 N/A N/A N/A N/A N/A Foo foo b assert_called_with 2 N/A N/A N/A self assertRaises AttributeError setattr N/A Foo foo c None N/A N/A N/A N/A patcher stop N/A test_patch_multiple_new_callable N/A N/A self N/A N/A Thing N/A object N/A N/A N/A N/A patcher N/A N/A patch multiple Foo f DEFAULT g DEFAULT new_callable Thing N/A result N/A N/A patcher start N/A N/A N/A N/A N/A self assertIs N/A Foo f N/A result N/A f N/A N/A N/A self assertIs N/A Foo g N/A result N/A g N/A N/A N/A self assertIsInstance N/A Foo f Thing N/A N/A N/A self assertIsInstance N/A Foo g Thing N/A N/A N/A self assertIsNot N/A Foo f N/A Foo g N/A N/A N/A N/A patcher stop N/A test_nested_patch_failure N/A N/A self N/A N/A N/A original_f N/A Foo f N/A original_g N/A Foo g thing1 N/A N/A N/A N/A N/A N/A N/A N/A patch object Foo g 1 N/A N/A patch object Foo missing 1 N/A N/A patch object Foo f 1 thing2 N/A N/A N/A N/A N/A N/A N/A N/A patch object Foo missing 1 N/A N/A patch object Foo g 1 N/A N/A patch object Foo f 1 thing3 N/A N/A N/A N/A N/A N/A N/A N/A patch object Foo g 1 N/A N/A patch object Foo f 1 N/A N/A patch object Foo missing 1 N/A func N/A thing1 thing2 thing3 N/A N/A N/A N/A self assertRaises AttributeError func N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A test_new_callable_failure N/A N/A self N/A N/A N/A original_f N/A Foo f N/A original_g N/A Foo g N/A original_foo N/A Foo foo crasher N/A N/A N/A N/A N/A N/A NameError crasher N/A thing1 N/A N/A N/A N/A N/A N/A N/A N/A patch object Foo g 1 N/A N/A patch object Foo foo new_callable crasher N/A N/A patch object Foo f 1 thing2 N/A N/A N/A N/A N/A N/A N/A N/A patch object Foo foo new_callable crasher N/A N/A patch object Foo g 1 N/A N/A patch object Foo f 1 thing3 N/A N/A N/A N/A N/A N/A N/A N/A patch object Foo g 1 N/A N/A patch object Foo f 1 N/A N/A patch object Foo foo new_callable crasher N/A func N/A thing1 thing2 thing3 N/A N/A N/A N/A self assertRaises NameError func N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A N/A N/A self assertEqual N/A Foo foo original_foo N/A test_patch_multiple_failure N/A N/A self N/A N/A N/A original_f N/A Foo f N/A original_g N/A Foo g N/A patcher N/A N/A patch object Foo f 1 N/A N/A patcher attribute_name f N/A good N/A N/A patch object Foo g 1 N/A N/A good attribute_name g N/A bad N/A N/A patch object Foo missing 1 N/A N/A bad attribute_name missing N/A additionals N/A N/A good bad N/A bad good N/A N/A N/A patcher additional_patchers additionals func N/A N/A N/A N/A N/A N/A patcher N/A N/A N/A self assertRaises AttributeError func N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A test_patch_multiple_new_callable_failure N/A N/A self N/A N/A N/A original_f N/A Foo f N/A original_g N/A Foo g N/A original_foo N/A Foo foo crasher N/A N/A N/A N/A N/A N/A NameError crasher N/A N/A patcher N/A N/A patch object Foo f 1 N/A N/A patcher attribute_name f N/A good N/A N/A patch object Foo g 1 N/A N/A good attribute_name g N/A bad N/A N/A patch object Foo foo new_callable crasher N/A N/A bad attribute_name foo N/A additionals N/A N/A good bad N/A bad good N/A N/A N/A patcher additional_patchers additionals func N/A N/A N/A N/A N/A N/A patcher N/A N/A N/A self assertRaises NameError func N/A N/A N/A self assertEqual N/A Foo f original_f N/A N/A N/A self assertEqual N/A Foo g original_g N/A N/A N/A self assertEqual N/A Foo foo original_foo N/A test_patch_multiple_string_subclasses N/A N/A self N/A N/A N/A base N/A str unicode N/A N/A Foo N/A type Foo N/A base N/A fish tasty N/A foo N/A Foo test N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A foo fish nearly gone N/A N/A N/A patch multiple foo fish nearly gone N/A N/A test N/A N/A N/A self assertEqual N/A foo fish tasty N/A test_patch_test_prefix N/A N/A self N/A N/A Foo N/A object N/A N/A thing original foo_one N/A N/A self N/A N/A N/A N/A self thing N/A foo_two N/A N/A self N/A N/A N/A N/A self thing N/A test_one N/A N/A self N/A N/A N/A N/A self thing N/A test_two N/A N/A self N/A N/A N/A N/A self thing N/A N/A N/A Foo N/A N/A N/A patch object Foo thing changed Foo N/A foo N/A Foo N/A N/A N/A self assertEqual N/A N/A foo foo_one changed N/A N/A N/A self assertEqual N/A N/A foo foo_two changed N/A N/A N/A self assertEqual N/A N/A foo test_one original N/A N/A N/A self assertEqual N/A N/A foo test_two original N/A N/A patch mock.patch.TEST_PREFIX foo test_patch_dict_test_prefix N/A N/A self N/A N/A Foo N/A object N/A bar_one N/A N/A self N/A N/A N/A N/A dict the_dict N/A bar_two N/A N/A self N/A N/A N/A N/A dict the_dict N/A test_one N/A N/A self N/A N/A N/A N/A dict the_dict N/A test_two N/A N/A self N/A N/A N/A N/A dict the_dict N/A N/A N/A the_dict N/A key original N/A Foo N/A N/A N/A patch dict the_dict key changed Foo N/A foo N/A Foo N/A N/A N/A self assertEqual N/A N/A foo bar_one N/A key changed N/A N/A N/A self assertEqual N/A N/A foo bar_two N/A key changed N/A N/A N/A self assertEqual N/A N/A foo test_one N/A key original N/A N/A N/A self assertEqual N/A N/A foo test_two N/A key original N/A N/A patch mock.patch.TEST_PREFIX bar test_patch_with_spec_mock_repr N/A N/A self N/A N/A N/A arg N/A spec autospec spec_set N/A N/A p N/A patch N/A %s.SomeClass __name__ N/A arg True N/A m N/A N/A p start N/A N/A N/A N/A N/A self assertIn  name='SomeClass' N/A repr m N/A N/A N/A self assertIn  name='SomeClass.class_attribute' N/A repr N/A m class_attribute N/A N/A N/A self assertIn  name='SomeClass()' N/A repr N/A m N/A N/A N/A self assertIn  name='SomeClass().class_attribute' N/A repr N/A N/A m class_attribute N/A N/A N/A N/A p stop N/A test_patch_nested_autospec_repr N/A N/A self N/A N/A N/A p N/A patch tests.support autospec True N/A m N/A N/A p start N/A N/A N/A N/A N/A self assertIn  name='support.SomeClass.wibble()' N/A repr N/A N/A N/A m SomeClass wibble N/A N/A N/A self assertIn  name='support.SomeClass().wibble()' N/A repr N/A N/A N/A N/A m SomeClass wibble N/A N/A N/A N/A p stop N/A test_mock_calls_with_patch N/A N/A self N/A N/A N/A arg N/A spec autospec spec_set N/A N/A p N/A patch N/A %s.SomeClass __name__ N/A arg True N/A m N/A N/A p start N/A N/A N/A N/A N/A m wibble N/A kalls N/A N/A N/A call wibble N/A N/A N/A self assertEqual N/A m mock_calls kalls N/A N/A N/A self assertEqual N/A m method_calls kalls N/A N/A N/A self assertEqual N/A N/A m wibble mock_calls N/A N/A call N/A result N/A m N/A N/A N/A kalls append N/A call N/A N/A N/A self assertEqual N/A m mock_calls kalls N/A N/A N/A result wibble N/A N/A N/A kalls append N/A N/A N/A call wibble N/A N/A N/A self assertEqual N/A m mock_calls kalls N/A N/A N/A self assertEqual N/A result mock_calls N/A N/A N/A call wibble N/A N/A N/A self assertEqual N/A N/A result wibble mock_calls N/A N/A call N/A N/A N/A self assertEqual N/A result method_calls N/A N/A N/A call wibble N/A N/A N/A N/A p stop N/A test_patch_imports_lazily N/A N/A self N/A N/A N/A N/A N/A N/A sys modules pop squizz None N/A p1 N/A patch squizz.squozz N/A N/A N/A self assertRaises ImportError N/A p1 start N/A squizz N/A Mock N/A N/A squizz squozz 6 N/A N/A N/A sys modules N/A squizz squizz N/A p1 N/A patch squizz.squozz N/A N/A squizz squozz 3 N/A N/A N/A p1 start N/A N/A N/A p1 stop N/A N/A N/A self assertEqual N/A squizz squozz 3 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest2 main