Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Exec Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Call NameLoad Str TupleLoad Call NameLoad keyword Str Str For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad Call Call NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad Call Call NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad FunctionDef arguments args defaults vararg kwarg body Raise Call NameLoad Str decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num keyword Num Expr Call AttributeLoad NameLoad attr Num Num keyword Num Assign NameStore ListLoad Num Num Num FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return NameLoad decorator_list Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Expr Call NameLoad Num Num keyword Num handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Pass orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num keyword Num decorator_list Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore ListLoad Str Assign NameStore Call NameLoad keyword Str keyword NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad TupleLoad AttributeLoad NameLoad attr Dict Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad TupleLoad AttributeLoad NameLoad attr Dict Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad TupleLoad AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad TupleLoad AttributeLoad NameLoad attr Dict TupleLoad TupleLoad AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad TupleLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Dict Str AttributeLoad NameLoad attr TupleLoad TupleLoad AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad TupleLoad AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Num Num Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Num Num Num keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Str Str keyword Num Expr Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults Call AttributeLoad NameLoad attr Str Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str TupleLoad Num Dict Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str TupleLoad Num Dict Str NameLoad TupleLoad Str TupleLoad Num Dict Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str TupleLoad Dict Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str TupleLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str TupleLoad Str Dict Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str TupleLoad Dict Str Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str TupleLoad Str Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad ListLoad Str TupleLoad Str body For NameStore TupleLoad Str Str body Assign NameStore Call NameLoad Dict NameLoad NameLoad Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr AttributeLoad NameLoad attr Expr AttributeLoad NameLoad attr Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad Str decorator_list Expr Call NameLoad Call NameLoad keyword NameLoad Expr Call NameLoad Call NameLoad keyword Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Num Num keyword Num Expr Call AttributeLoad NameLoad attr Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad keyword Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call NameLoad attr attr Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Num decorator_list Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list Assign NameStore Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore Call NameLoad NameLoad attr NameLoad Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore Call NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub NameLoad NameLoad Expr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults Call NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub NameLoad NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call NameLoad Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str NameLoad Num Call NameLoad Assign NameStore Call NameLoad NameLoad 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 Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad 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 NameParam NameParam NameParam defaults vararg kwarg body TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr Num Str Num keyword Str Expr Call AttributeLoad NameLoad attr Num Str Num keyword Str Assign NameStore ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad TupleLoad NameLoad NameLoad NameLoad Num Str Num keyword Str For NameStore NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad TupleLoad NameLoad NameLoad NameLoad keyword Str For NameStore NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad TupleLoad NameLoad NameLoad NameLoad Num Num Num For NameStore NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr ListLoad NameLoad Assign NameStore Call NameLoad Expr Call NameLoad Assign NameStore ListLoad TupleLoad Str TupleLoad Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str TupleLoad Dict Assign NameStore Call NameLoad Expr Call AttributeLoad Call NameLoad attr Num Num Num keyword Num keyword Num Assign NameStore ListLoad TupleLoad Str TupleLoad Dict TupleLoad Str TupleLoad Num Num Num Call NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str TupleLoad Num Num Num Call NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str TupleLoad Num Num Num Call NameLoad keyword Num keyword Num Assign NameStore Call NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad Call NameLoad attr attr attr Assign NameStore ListLoad TupleLoad Str TupleLoad Dict TupleLoad Str TupleLoad Dict TupleLoad Str TupleLoad Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr For NameStore TupleLoad Call NameLoad Call NameLoad keyword Str body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str TupleLoad Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str TupleLoad Dict TupleLoad Str TupleLoad Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr ListLoad Call NameLoad Assign NameStore Call NameLoad NameLoad Expr Call Call Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call Call Call NameLoad Num Num Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad attr Call AttributeLoad Call Call NameLoad Num Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call Call NameLoad attr Call AttributeLoad Call NameLoad Num attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad Call Call Call NameLoad Num Num Num attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad Call Call Call NameLoad Num Num Num attr attr attr Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad Call Call NameLoad Num Num attr attr attr Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call Call NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad Call NameLoad Num attr attr attr Num attr Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad Call NameLoad attr attr attr Assign NameStore TupleLoad Str TupleLoad Dict Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad Call NameLoad attr attr attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad Call NameLoad attr attr attr attr Call AttributeLoad Call AttributeLoad Call NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Return Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list For NameStore NameLoad body Expr Call NameLoad NameLoad If Call NameLoad NameLoad body Expr Call NameLoad Expr Call NameLoad Num Num Expr Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Num Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr attr Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad Num keyword Num Expr Call NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword Num Assign NameStore ListLoad TupleLoad TupleLoad Num Call NameLoad keyword Num TupleLoad TupleLoad Num Call NameLoad keyword Num For TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad keyword ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad Num NameLoad Num Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad ListLoad Assign AttributeStore NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad ListLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad Num Num Expr Call NameLoad keyword Num Expr Call NameLoad Num Num Expr Call NameLoad keyword Num Expr Call NameLoad keyword Num Assign NameStore ListLoad Call NameLoad Num Num TupleLoad Dict Str Num TupleLoad TupleLoad Num Num TupleLoad TupleLoad Dict Str Num TupleLoad Str TupleLoad Num Num TupleLoad Str Dict Str Num TupleLoad Str TupleLoad Num Num Dict TupleLoad Str TupleLoad Dict Str Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad For NameStore TupleLoad Call NameLoad Num Str Call NameLoad keyword Num Call NameLoad Num NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad Assign NameStore ListLoad ListLoad Call NameLoad Num Num Call NameLoad keyword Num ListLoad Call NameLoad Num Num Call NameLoad Num Num ListLoad Call NameLoad keyword Num Call NameLoad keyword Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore ListLoad ListLoad Call NameLoad keyword Num Call NameLoad keyword Num Call NameLoad keyword Num ListLoad Call NameLoad Num Num Call NameLoad Num Num ListLoad Call NameLoad Num Num Call NameLoad Num Num Call NameLoad Num Num ListLoad Call NameLoad keyword Num Call NameLoad Num Num Call NameLoad keyword Num Call NameLoad Num Num Call NameLoad keyword Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call NameLoad Num Num TupleLoad Dict Str Num TupleLoad TupleLoad Num Num Call NameLoad keyword Num TupleLoad Str TupleLoad Num Dict Str Num Assign NameStore ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword Num attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Dict attr ListLoad Num attr Assign NameStore ListLoad For NameStore TupleLoad Call NameLoad Call NameLoad body Expr Call NameLoad Num Num Expr Call NameLoad keyword Num Expr Call NameLoad Num Num Expr Call NameLoad keyword Num Expr Call NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Dict attr ListLoad Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body For NameStore Call NameLoad Call NameLoad NameLoad body For NameStore TupleLoad Num Num Num body Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad Num Num Expr Call NameLoad keyword Num Expr Call NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListLoad Call NameLoad NameLoad AttributeLoad Call NameLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad Num Num Expr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call NameLoad Num Num Call NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Num decorator_list ClassDef bases NameLoad body Assign NameStore Num decorator_list ClassDef bases NameLoad body Assign NameStore NameStore NameStore Str decorator_list Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Call NameLoad keyword NameLoad For NameStore NameLoad body For NameStore TupleLoad Call NameLoad Call NameLoad keyword NameLoad body Assign NameStore Call NameLoad Expr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore ListLoad TupleLoad NameLoad NameLoad TupleLoad ListLoad Str ListLoad Str body For NameStore TupleLoad Call NameLoad Call NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Expr SubscriptLoad NameLoad Index Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call NameLoad Call Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Num Assign AttributeStore NameLoad attr Call NameLoad keyword Num Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Delete AttributeDel NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeStore NameLoad attr Call NameLoad Delete AttributeDel NameLoad attr 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 Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad For NameStore TupleLoad NameLoad NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Call NameLoad Call NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Delete AttributeDel NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Delete AttributeDel NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Call NameLoad Call NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A copy N/A sys N/A unittest unittest.test.testmock.support is_instance unittest mock unittest.mock call DEFAULT patch sentinel MagicMock Mock NonCallableMock NonCallableMagicMock _CallList create_autospec Iter N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self thing N/A iter N/A this is an iter N/A __iter__ N/A N/A self N/A N/A N/A self N/A next N/A N/A self N/A N/A N/A N/A next N/A self thing N/A N/A __next__ next N/A MockTest N/A N/A unittest TestCase N/A test_all N/A N/A self N/A N/A N/A from unittest.mock import * N/A test_constructor N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A N/A self assertFalse N/A mock called called not initialised correctly N/A N/A N/A self assertEqual N/A mock call_count 0 call_count not initialised correctly N/A N/A N/A self assertTrue N/A is_instance N/A mock return_value Mock return_value not initialised correctly N/A N/A N/A self assertEqual N/A mock call_args None call_args not initialised correctly N/A N/A N/A self assertEqual N/A mock call_args_list N/A call_args_list not initialised correctly N/A N/A N/A self assertEqual N/A mock method_calls N/A method_calls not initialised correctly N/A N/A N/A self assertFalse N/A _items N/A mock __dict__ default mock should not have '_items' attribute N/A N/A N/A self assertIsNone N/A mock _mock_parent parent not initialised correctly N/A N/A N/A self assertIsNone N/A mock _mock_methods methods not initialised correctly N/A N/A N/A self assertEqual N/A mock _mock_children N/A children not initialised incorrectly N/A test_return_value_in_constructor N/A N/A self N/A N/A N/A mock N/A Mock return_value None N/A N/A N/A self assertIsNone N/A mock return_value return value in constructor not honoured N/A test_repr N/A N/A self N/A N/A N/A mock N/A Mock name foo N/A N/A N/A self assertIn foo N/A repr mock N/A N/A N/A self assertIn N/A '%s' N/A id mock N/A repr mock N/A mocks N/A N/A N/A Mock mock N/A N/A Mock name bar bar N/A N/A mock name mocks N/A N/A N/A N/A self assertIn N/A %s.bar name N/A repr N/A mock bar N/A N/A N/A self assertIn N/A %s.foo() name N/A repr N/A N/A mock foo N/A N/A N/A self assertIn N/A %s.foo().bing name N/A repr N/A N/A N/A mock foo bing N/A N/A N/A self assertIn N/A %s() name N/A repr N/A mock N/A N/A N/A self assertIn N/A %s()() name N/A repr N/A N/A mock N/A N/A N/A self assertIn N/A %s()().foo.bar.baz().bing name N/A repr N/A N/A N/A N/A N/A N/A N/A mock foo bar baz bing N/A test_repr_with_spec N/A N/A self N/A N/A X N/A object N/A N/A N/A N/A mock N/A Mock spec X N/A N/A N/A self assertIn  spec='X'  N/A repr mock N/A mock N/A Mock spec N/A X N/A N/A N/A self assertIn  spec='X'  N/A repr mock N/A mock N/A Mock spec_set X N/A N/A N/A self assertIn  spec_set='X'  N/A repr mock N/A mock N/A Mock spec_set N/A X N/A N/A N/A self assertIn  spec_set='X'  N/A repr mock N/A mock N/A Mock spec X name foo N/A N/A N/A self assertIn  spec='X'  N/A repr mock N/A N/A N/A self assertIn  name='foo'  N/A repr mock N/A mock N/A Mock name foo N/A N/A N/A self assertNotIn spec N/A repr mock N/A mock N/A Mock N/A N/A N/A self assertNotIn spec N/A repr mock N/A mock N/A Mock spec N/A foo N/A N/A N/A self assertNotIn spec N/A repr mock N/A test_side_effect N/A N/A self N/A N/A N/A mock N/A Mock effect N/A N/A N/A args kwargs N/A N/A N/A SystemError kablooie N/A N/A N/A mock side_effect effect N/A N/A N/A self assertRaises SystemError mock 1 2 fish 3 N/A N/A N/A mock assert_called_with 1 2 fish 3 N/A results N/A 1 2 3 effect N/A N/A N/A N/A N/A N/A N/A results pop N/A N/A N/A mock side_effect effect N/A N/A N/A self assertEqual N/A N/A mock N/A mock N/A mock N/A 3 2 1 side effect not used correctly N/A mock N/A Mock side_effect N/A sentinel SideEffect N/A N/A N/A self assertEqual N/A mock side_effect N/A sentinel SideEffect side effect in constructor not used side_effect N/A N/A N/A N/A N/A DEFAULT N/A N/A mock N/A Mock side_effect side_effect return_value N/A sentinel RETURN N/A N/A N/A self assertEqual N/A mock N/A sentinel RETURN N/A test_java_exception_side_effect N/A N/A self N/A N/A N/A java N/A mock N/A Mock side_effect N/A N/A N/A java lang RuntimeException Boom! N/A N/A N/A N/A mock 1 2 fish 3 N/A N/A N/A N/A N/A java lang RuntimeException N/A N/A N/A N/A N/A N/A self fail java exception not raised N/A N/A N/A mock assert_called_with 1 2 fish 3 N/A N/A N/A unittest skipUnless N/A java N/A sys platform This test only applies to Jython test_reset_mock N/A N/A self N/A N/A N/A parent N/A Mock N/A spec N/A something N/A mock N/A Mock name child parent parent spec spec N/A N/A mock N/A sentinel Something something N/A sentinel SomethingElse N/A something N/A mock something N/A N/A N/A mock something N/A N/A mock side_effect N/A sentinel SideEffect N/A return_value N/A mock return_value N/A N/A return_value N/A N/A N/A mock reset_mock N/A N/A N/A self assertEqual N/A mock _mock_name child name incorrectly reset N/A N/A N/A self assertEqual N/A mock _mock_parent parent parent incorrectly reset N/A N/A N/A self assertEqual N/A mock _mock_methods spec methods incorrectly reset N/A N/A N/A self assertFalse N/A mock called called not reset N/A N/A N/A self assertEqual N/A mock call_count 0 call_count not reset N/A N/A N/A self assertEqual N/A mock call_args None call_args not reset N/A N/A N/A self assertEqual N/A mock call_args_list N/A call_args_list not reset N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A method_calls not initialised correctly: %r != %r N/A N/A mock method_calls N/A N/A N/A N/A self assertEqual N/A mock mock_calls N/A N/A N/A N/A self assertEqual N/A mock side_effect N/A sentinel SideEffect side_effect incorrectly reset N/A N/A N/A self assertEqual N/A mock return_value return_value return_value incorrectly reset N/A N/A N/A self assertFalse N/A return_value called return value mock not reset N/A N/A N/A self assertEqual N/A mock _mock_children N/A something something children reset incorrectly N/A N/A N/A self assertEqual N/A mock something something children incorrectly cleared N/A N/A N/A self assertFalse N/A N/A mock something called child not reset N/A test_reset_mock_recursion N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A mock return_value mock N/A N/A N/A mock reset_mock N/A test_call N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A N/A self assertTrue N/A is_instance N/A mock return_value Mock Default return_value should be a Mock N/A result N/A mock N/A N/A N/A self assertEqual N/A mock result different result from consecutive calls N/A N/A N/A mock reset_mock N/A ret_val N/A mock N/A sentinel Arg N/A N/A N/A self assertTrue N/A mock called called not set N/A N/A N/A self assertEqual N/A mock call_count 1 call_count incoreect N/A N/A N/A self assertEqual N/A mock call_args N/A N/A N/A sentinel Arg N/A call_args not set N/A N/A N/A self assertEqual N/A mock call_args_list N/A N/A N/A N/A sentinel Arg N/A call_args_list not initialised correctly N/A N/A mock return_value N/A sentinel ReturnValue N/A ret_val N/A mock N/A sentinel Arg key N/A sentinel KeyArg N/A N/A N/A self assertEqual ret_val N/A sentinel ReturnValue incorrect return value N/A N/A N/A self assertEqual N/A mock call_count 2 call_count incorrect N/A N/A N/A self assertEqual N/A mock call_args N/A N/A N/A sentinel Arg N/A key N/A sentinel KeyArg call_args not set N/A N/A N/A self assertEqual N/A mock call_args_list N/A N/A N/A N/A sentinel Arg N/A N/A N/A N/A sentinel Arg N/A key N/A sentinel KeyArg call_args_list not set N/A test_call_args_comparison N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A mock N/A N/A mock N/A sentinel Arg N/A N/A mock kw N/A sentinel Kwarg N/A N/A mock N/A sentinel Arg kw N/A sentinel Kwarg N/A N/A N/A self assertEqual N/A mock call_args_list N/A N/A N/A N/A N/A sentinel Arg N/A N/A kw N/A sentinel Kwarg N/A N/A N/A sentinel Arg N/A kw N/A sentinel Kwarg N/A N/A N/A self assertEqual N/A mock call_args N/A N/A N/A sentinel Arg N/A kw N/A sentinel Kwarg N/A test_assert_called_with N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A mock N/A N/A N/A mock assert_called_with N/A N/A N/A self assertRaises AssertionError N/A mock assert_called_with 1 N/A N/A N/A mock reset_mock N/A N/A N/A self assertRaises AssertionError N/A mock assert_called_with N/A N/A mock 1 2 3 a fish b nothing N/A N/A N/A mock assert_called_with 1 2 3 a fish b nothing N/A test_assert_called_once_with N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A mock N/A N/A N/A mock assert_called_once_with N/A N/A mock N/A N/A N/A self assertRaises AssertionError N/A mock assert_called_once_with N/A N/A N/A mock reset_mock N/A N/A N/A self assertRaises AssertionError N/A mock assert_called_once_with N/A N/A mock foo bar baz 2 N/A N/A N/A mock assert_called_once_with foo bar baz 2 N/A N/A N/A mock reset_mock N/A N/A mock foo bar baz 2 N/A N/A N/A self assertRaises AssertionError N/A N/A N/A N/A N/A N/A mock assert_called_once_with bob bar baz 2 N/A test_attribute_access_returns_mocks N/A N/A self N/A N/A N/A mock N/A Mock N/A something N/A mock something N/A N/A N/A self assertTrue N/A is_instance something Mock attribute isn't a mock N/A N/A N/A self assertEqual N/A mock something something different attributes returned for same name N/A mock N/A Mock N/A N/A N/A mock something return_value 3 N/A N/A N/A self assertEqual N/A N/A mock something 3 method returned wrong value N/A N/A N/A self assertTrue N/A N/A mock something called method didn't record being called N/A test_attributes_have_name_and_parent_set N/A N/A self N/A N/A N/A mock N/A Mock N/A something N/A mock something N/A N/A N/A self assertEqual N/A something _mock_name something attribute name not set correctly N/A N/A N/A self assertEqual N/A something _mock_parent mock attribute parent not set correctly N/A test_method_calls_recorded N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A N/A mock something 3 fish None N/A N/A N/A N/A mock something_else something 6 cake N/A sentinel Cake N/A N/A N/A self assertEqual N/A N/A mock something_else method_calls N/A N/A something N/A 6 N/A cake N/A sentinel Cake method calls not recorded correctly N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A something N/A 3 N/A fish None N/A something_else.something N/A 6 N/A cake N/A sentinel Cake method calls not recorded correctly N/A test_method_calls_compare_easily N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A N/A mock something N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A something N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A something N/A N/A N/A mock N/A Mock N/A N/A N/A mock something different N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A something N/A different N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A something N/A different N/A N/A mock N/A Mock N/A N/A N/A mock something x 1 N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A something N/A x 1 N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A something N/A N/A x 1 N/A mock N/A Mock N/A N/A N/A mock something different some more N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A something N/A different N/A some more N/A test_only_allowed_methods_exist N/A N/A self N/A N/A N/A spec N/A N/A something N/A something N/A N/A arg N/A spec spec_set N/A N/A mock N/A Mock N/A arg spec N/A N/A mock something N/A N/A N/A self assertRaisesRegex AttributeError Mock object has no attribute 'something_else' getattr mock something_else N/A test_from_spec N/A N/A self N/A N/A Something N/A object N/A N/A x 3 N/A __something__ None y N/A N/A self N/A N/A N/A N/A N/A test_attributes N/A N/A mock N/A N/A N/A N/A mock x N/A N/A mock y N/A N/A mock __something__ N/A N/A N/A self assertRaisesRegex AttributeError Mock object has no attribute 'z' getattr mock z N/A N/A N/A self assertRaisesRegex AttributeError Mock object has no attribute '__foobar__' getattr mock __foobar__ N/A N/A N/A test_attributes N/A Mock spec Something N/A N/A test_attributes N/A Mock spec N/A Something N/A test_wraps_calls N/A N/A self N/A N/A N/A real N/A Mock N/A mock N/A Mock wraps real N/A N/A N/A self assertEqual N/A mock N/A real N/A N/A N/A real reset_mock N/A N/A mock 1 2 fish 3 N/A N/A N/A real assert_called_with 1 2 fish 3 N/A test_wraps_call_with_nondefault_return_value N/A N/A self N/A N/A N/A real N/A Mock N/A mock N/A Mock wraps real N/A N/A mock return_value 3 N/A N/A N/A self assertEqual N/A mock 3 N/A N/A N/A self assertFalse N/A real called N/A test_wraps_attributes N/A N/A self N/A N/A Real N/A object N/A N/A attribute N/A Mock N/A N/A real N/A Real N/A mock N/A Mock wraps real N/A N/A N/A self assertEqual N/A N/A mock attribute N/A N/A real attribute N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A mock fish N/A N/A N/A self assertNotEqual N/A mock attribute N/A real attribute N/A result N/A N/A N/A mock attribute frog 1 2 fish 3 N/A N/A N/A N/A N/A Real attribute frog assert_called_with 1 2 fish 3 N/A N/A N/A self assertEqual result N/A N/A N/A Real attribute frog N/A test_exceptional_side_effect N/A N/A self N/A N/A N/A mock N/A Mock side_effect AttributeError N/A N/A N/A self assertRaises AttributeError mock N/A mock N/A Mock side_effect N/A AttributeError foo N/A N/A N/A self assertRaises AttributeError mock N/A test_baseexceptional_side_effect N/A N/A self N/A N/A N/A mock N/A Mock side_effect KeyboardInterrupt N/A N/A N/A self assertRaises KeyboardInterrupt mock N/A mock N/A Mock side_effect N/A KeyboardInterrupt foo N/A N/A N/A self assertRaises KeyboardInterrupt mock N/A test_assert_called_with_message N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A N/A self assertRaisesRegex AssertionError Not called N/A mock assert_called_with N/A test__name__ N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A mock __name__ N/A N/A mock __name__ foo N/A N/A N/A self assertEqual N/A mock __name__ foo N/A test_spec_list_subclass N/A N/A self N/A N/A Sub N/A list N/A N/A N/A N/A mock N/A Mock spec N/A Sub N/A foo N/A N/A N/A mock append 3 N/A N/A N/A N/A mock append assert_called_with 3 N/A N/A N/A self assertRaises AttributeError getattr mock foo N/A test_spec_class N/A N/A self N/A N/A X N/A object N/A N/A N/A N/A mock N/A Mock spec X N/A N/A N/A self assertTrue N/A isinstance mock X N/A mock N/A Mock spec N/A X N/A N/A N/A self assertTrue N/A isinstance mock X N/A N/A N/A self assertIs N/A mock __class__ X N/A N/A N/A self assertEqual N/A N/A N/A Mock __class__ __name__ Mock N/A mock N/A Mock spec_set X N/A N/A N/A self assertTrue N/A isinstance mock X N/A mock N/A Mock spec_set N/A X N/A N/A N/A self assertTrue N/A isinstance mock X N/A test_setting_attribute_with_spec_set N/A N/A self N/A N/A X N/A object N/A N/A y 3 N/A N/A mock N/A Mock spec X N/A N/A mock x foo N/A mock N/A Mock spec_set X set_attr N/A N/A N/A N/A N/A N/A mock x foo N/A N/A N/A mock y foo N/A N/A N/A self assertRaises AttributeError set_attr N/A test_copy N/A N/A self N/A N/A N/A current N/A N/A sys getrecursionlimit N/A N/A N/A self addCleanup N/A sys setrecursionlimit current N/A N/A N/A sys setrecursionlimit N/A int 1000000000.0 N/A N/A N/A copy copy N/A Mock N/A test_subclass_with_properties N/A N/A self N/A N/A SubClass N/A Mock N/A _get N/A N/A self N/A N/A N/A 3 N/A _set N/A N/A self value N/A N/A N/A N/A NameError strange error N/A N/A some_attribute N/A property _get _set N/A N/A s N/A SubClass spec_set SubClass N/A N/A N/A self assertEqual N/A s some_attribute 3 test N/A N/A N/A N/A N/A N/A s some_attribute 3 N/A N/A N/A N/A self assertRaises NameError test test N/A N/A N/A N/A N/A N/A s foo bar N/A N/A N/A N/A self assertRaises AttributeError test N/A test_setting_call N/A N/A self N/A N/A N/A mock N/A Mock __call__ N/A N/A self a N/A N/A N/A N/A N/A self _mock_call a N/A N/A N/A N/A type mock __call__ __call__ N/A N/A mock one N/A N/A N/A mock assert_called_with one N/A N/A N/A self assertRaises TypeError mock one two N/A test_dir N/A N/A self N/A N/A N/A mock N/A Mock N/A attrs N/A set N/A dir mock N/A type_attrs N/A set N/A m N/A m N/A dir Mock N/A N/A N/A m startswith _ N/A N/A N/A self assertEqual N/A set N/A type_attrs attrs N/A N/A N/A mock a N/A mock b N/A N/A N/A self assertIn a N/A dir mock N/A N/A N/A self assertIn b N/A dir mock N/A N/A mock c N/A mock d None N/A N/A N/A self assertIn c N/A dir mock N/A N/A N/A self assertIn d N/A dir mock N/A N/A mock __iter__ N/A N/A N/A s N/A N/A iter N/A N/A N/A N/A self assertIn __iter__ N/A dir mock N/A test_dir_from_spec N/A N/A self N/A N/A N/A mock N/A Mock spec N/A unittest TestCase N/A testcase_attrs N/A set N/A dir N/A unittest TestCase N/A attrs N/A set N/A dir mock N/A N/A N/A self assertEqual N/A set N/A testcase_attrs attrs N/A N/A mock version 3 N/A N/A N/A self assertEqual N/A N/A N/A dir mock count version 1 N/A test_filter_dir N/A N/A self N/A N/A N/A patcher N/A N/A patch object mock FILTER_DIR False N/A N/A N/A patcher start N/A N/A N/A attrs N/A set N/A dir N/A Mock N/A type_attrs N/A set N/A dir Mock N/A N/A N/A self assertEqual N/A set N/A type_attrs attrs N/A N/A N/A N/A patcher stop N/A test_configure_mock N/A N/A self N/A N/A N/A mock N/A Mock foo bar N/A N/A N/A self assertEqual N/A mock foo bar N/A mock N/A MagicMock foo bar N/A N/A N/A self assertEqual N/A mock foo bar N/A kwargs N/A side_effect foo.bar.return_value foo KeyError 33 N/A MagicMock N/A mock N/A Mock kwargs 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 mock N/A Mock N/A N/A N/A mock configure_mock kwargs 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 assertRaisesWithMsg N/A N/A self exception message func N/A args kwargs N/A N/A N/A N/A N/A func args kwargs N/A N/A N/A N/A instance N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A self assertIsInstance instance exception N/A N/A N/A N/A self fail N/A Exception %r not raised N/A exception N/A msg N/A str instance N/A N/A N/A self assertEqual msg message N/A test_assert_called_with_failure_message N/A N/A self N/A N/A N/A mock N/A NonCallableMock N/A expected mock(1, '2', 3, bar='foo') N/A message Expected call: %s
Not called N/A N/A N/A self assertRaisesWithMsg AssertionError N/A message N/A expected N/A mock assert_called_with 1 2 3 bar foo N/A N/A N/A mock foo 1 2 3 foo foo N/A asserters N/A N/A N/A mock foo assert_called_with N/A N/A mock foo assert_called_once_with N/A meth asserters N/A N/A actual foo(1, '2', 3, foo='foo') N/A expected foo(1, '2', 3, bar='foo') N/A message Expected call: %s
Actual call: %s N/A N/A N/A self assertRaisesWithMsg AssertionError N/A message N/A expected actual meth 1 2 3 bar foo N/A meth asserters N/A N/A actual foo(1, '2', 3, foo='foo') N/A expected foo(bar='foo') N/A message Expected call: %s
Actual call: %s N/A N/A N/A self assertRaisesWithMsg AssertionError N/A message N/A expected actual meth bar foo N/A meth asserters N/A N/A actual foo(1, '2', 3, foo='foo') N/A expected foo(1, 2, 3) N/A message Expected call: %s
Actual call: %s N/A N/A N/A self assertRaisesWithMsg AssertionError N/A message N/A expected actual meth 1 2 3 N/A meth asserters N/A N/A actual foo(1, '2', 3, foo='foo') N/A expected foo() N/A message Expected call: %s
Actual call: %s N/A N/A N/A self assertRaisesWithMsg AssertionError N/A message N/A expected actual meth N/A test_mock_calls N/A N/A self N/A N/A N/A mock N/A MagicMock N/A N/A N/A self assertIs N/A N/A mock mock_calls N/A True N/A mock N/A MagicMock N/A N/A mock N/A expected N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A mock mock_calls expected N/A N/A N/A mock foo N/A N/A N/A expected append N/A N/A call foo N/A N/A N/A self assertEqual N/A mock mock_calls expected N/A N/A N/A self assertEqual N/A N/A mock foo mock_calls N/A N/A N/A N/A N/A mock N/A MagicMock N/A N/A N/A N/A mock foo 1 2 3 a 4 b 5 N/A expected N/A N/A N/A N/A N/A ().foo N/A 1 2 3 N/A dict a 4 b 5 N/A N/A N/A self assertEqual N/A mock mock_calls expected N/A N/A N/A self assertEqual N/A N/A N/A mock return_value foo mock_calls N/A N/A N/A 1 2 3 N/A dict a 4 b 5 N/A N/A N/A self assertEqual N/A N/A mock return_value mock_calls N/A N/A foo N/A 1 2 3 N/A dict a 4 b 5 N/A mock N/A MagicMock N/A N/A N/A N/A N/A N/A N/A mock foo bar baz N/A expected N/A N/A N/A N/A N/A ().foo.bar N/A N/A N/A ().foo.bar().baz N/A N/A N/A N/A N/A self assertEqual N/A mock mock_calls expected N/A N/A N/A self assertEqual N/A N/A mock mock_calls N/A N/A N/A N/A N/A N/A N/A call foo bar baz call_list N/A kwargs N/A N/A dict N/A dict name bar N/A N/A mock N/A MagicMock kwargs N/A N/A int N/A mock foo N/A expected N/A N/A foo.__int__ N/A N/A N/A N/A N/A self assertEqual N/A mock mock_calls expected N/A mock N/A MagicMock kwargs N/A N/A N/A N/A mock a N/A expected N/A N/A a N/A N/A N/A a() N/A N/A N/A N/A N/A self assertEqual N/A mock mock_calls expected N/A N/A N/A self assertEqual N/A N/A N/A mock a mock_calls N/A N/A call N/A mock N/A MagicMock kwargs N/A N/A N/A N/A mock 1 2 3 N/A N/A N/A self assertEqual N/A mock mock_calls N/A N/A N/A N/A N/A call 1 2 3 call_list N/A N/A N/A self assertEqual N/A N/A mock mock_calls N/A N/A N/A N/A call 2 3 call_list N/A N/A N/A self assertEqual N/A N/A N/A mock mock_calls N/A N/A N/A call 3 call_list N/A mock N/A MagicMock kwargs N/A N/A N/A N/A N/A N/A N/A N/A mock 1 2 3 a b c 4 N/A N/A N/A self assertEqual N/A mock mock_calls N/A N/A N/A N/A N/A N/A N/A N/A N/A call 1 2 3 a b c 4 call_list N/A N/A N/A self assertEqual N/A N/A mock mock_calls N/A N/A N/A N/A N/A N/A N/A N/A call 2 3 a b c 4 call_list N/A N/A N/A self assertEqual N/A N/A N/A mock mock_calls N/A N/A N/A N/A N/A N/A N/A call 3 a b c 4 call_list N/A mock N/A MagicMock kwargs N/A N/A int N/A N/A N/A N/A N/A N/A mock foo bar baz N/A last_call N/A ().foo.bar().baz().__int__ N/A N/A N/A N/A N/A self assertEqual N/A N/A mock mock_calls N/A -1 last_call N/A N/A N/A self assertEqual N/A N/A mock mock_calls N/A N/A N/A N/A N/A N/A N/A N/A N/A call foo bar baz __int__ call_list N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A mock foo bar mock_calls N/A N/A N/A N/A N/A N/A call baz __int__ call_list N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A mock foo bar baz mock_calls N/A N/A N/A N/A N/A call __int__ call_list N/A test_subclassing N/A N/A self N/A N/A Subclass N/A Mock N/A N/A N/A N/A mock N/A Subclass N/A N/A N/A self assertIsInstance N/A mock foo Subclass N/A N/A N/A self assertIsInstance N/A mock Subclass Subclass N/A Mock N/A _get_child_mock N/A N/A self N/A kwargs N/A N/A N/A Mock kwargs N/A N/A N/A mock N/A Subclass N/A N/A N/A self assertNotIsInstance N/A mock foo Subclass N/A N/A N/A self assertNotIsInstance N/A mock Subclass N/A test_arg_lists N/A N/A self N/A N/A N/A mocks N/A N/A Mock N/A MagicMock N/A NonCallableMock N/A NonCallableMagicMock assert_attrs N/A N/A mock N/A N/A N/A names N/A call_args_list method_calls mock_calls N/A name names N/A N/A attr N/A getattr mock name N/A N/A N/A self assertIsInstance attr _CallList N/A N/A N/A self assertIsInstance attr list N/A N/A N/A self assertEqual attr N/A N/A N/A mock mocks N/A N/A N/A assert_attrs mock N/A N/A callable mock N/A N/A N/A mock N/A N/A mock 1 2 N/A N/A mock a 3 N/A N/A N/A mock reset_mock N/A N/A assert_attrs mock N/A N/A N/A mock foo N/A N/A N/A N/A mock foo bar 1 a 3 N/A N/A N/A N/A N/A N/A N/A mock foo 1 bar baz 3 N/A N/A N/A mock reset_mock N/A N/A assert_attrs mock N/A test_call_args_two_tuple N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A mock 1 a 3 N/A N/A mock 2 b 4 N/A N/A N/A self assertEqual N/A len N/A mock call_args 2 N/A N/A args kwargs N/A mock call_args N/A N/A N/A self assertEqual args N/A 2 N/A N/A N/A self assertEqual kwargs N/A dict b 4 N/A expected_list N/A N/A N/A 1 N/A dict a 3 N/A N/A 2 N/A dict b 4 N/A N/A expected call_args N/A zip expected_list N/A mock call_args_list N/A N/A N/A N/A self assertEqual N/A len call_args 2 N/A N/A N/A self assertEqual N/A expected N/A 0 N/A call_args N/A 0 N/A N/A N/A self assertEqual N/A expected N/A 1 N/A call_args N/A 1 N/A test_side_effect_iterator N/A N/A self N/A N/A N/A mock N/A Mock side_effect N/A iter N/A 1 2 3 N/A N/A N/A self assertEqual N/A N/A mock N/A mock N/A mock N/A 1 2 3 N/A N/A N/A self assertRaises StopIteration mock N/A mock N/A MagicMock side_effect N/A a b c N/A N/A N/A self assertEqual N/A N/A mock N/A mock N/A mock N/A a b c N/A N/A N/A self assertRaises StopIteration mock N/A mock N/A Mock side_effect ghi N/A N/A N/A self assertEqual N/A N/A mock N/A mock N/A mock N/A g h i N/A N/A N/A self assertRaises StopIteration mock Foo N/A object N/A N/A N/A N/A mock N/A MagicMock side_effect Foo N/A N/A N/A self assertIsInstance N/A mock Foo N/A mock N/A Mock side_effect N/A Iter N/A N/A N/A self assertEqual N/A N/A mock N/A mock N/A mock N/A mock N/A this is an iter N/A N/A N/A self assertRaises StopIteration mock N/A test_side_effect_iterator_exceptions N/A N/A self N/A N/A N/A Klass N/A Mock MagicMock N/A N/A iterable N/A ValueError 3 KeyError 6 N/A m N/A Klass side_effect iterable N/A N/A N/A self assertRaises ValueError m N/A N/A N/A self assertEqual N/A m 3 N/A N/A N/A self assertRaises KeyError m N/A N/A N/A self assertEqual N/A m 6 N/A test_side_effect_setting_iterator N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A mock side_effect N/A iter N/A 1 2 3 N/A N/A N/A self assertEqual N/A N/A mock N/A mock N/A mock N/A 1 2 3 N/A N/A N/A self assertRaises StopIteration mock N/A side_effect N/A mock side_effect N/A N/A N/A self assertIsInstance side_effect N/A type N/A iter N/A N/A N/A mock side_effect N/A a b c N/A N/A N/A self assertEqual N/A N/A mock N/A mock N/A mock N/A a b c N/A N/A N/A self assertRaises StopIteration mock N/A side_effect N/A mock side_effect N/A N/A N/A self assertIsInstance side_effect N/A type N/A iter N/A N/A this_iter N/A Iter N/A N/A mock side_effect this_iter N/A N/A N/A self assertEqual N/A N/A mock N/A mock N/A mock N/A mock N/A this is an iter N/A N/A N/A self assertRaises StopIteration mock N/A N/A N/A self assertIs N/A mock side_effect this_iter N/A test_assert_has_calls_any_order N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A mock 1 2 N/A N/A mock a 3 N/A N/A mock 3 4 N/A N/A mock b 6 N/A N/A mock b 6 N/A kalls N/A N/A call 1 2 N/A N/A a 3 N/A N/A 3 4 N/A N/A N/A a 3 N/A N/A 1 2 N/A N/A a 3 N/A N/A 1 2 N/A N/A N/A N/A a 3 N/A kall kalls N/A N/A N/A N/A mock assert_has_calls N/A kall any_order True N/A kall N/A N/A call 1 2 N/A call b 3 N/A call 3 None foo N/A N/A N/A N/A self assertRaises AssertionError N/A mock assert_has_calls N/A kall any_order True N/A kall_lists N/A N/A N/A call 1 2 N/A call b 6 N/A N/A call 3 4 N/A call 1 2 N/A N/A call b 6 N/A call b 6 N/A kall_list kall_lists N/A N/A N/A N/A mock assert_has_calls kall_list any_order True N/A kall_lists N/A N/A N/A call b 6 N/A call b 6 N/A call b 6 N/A N/A call 1 2 N/A call 1 2 N/A N/A call 3 4 N/A call 1 2 N/A call 5 7 N/A N/A call b 6 N/A call 3 4 N/A call b 6 N/A call 1 2 N/A call b 6 N/A kall_list kall_lists N/A N/A N/A N/A self assertRaises AssertionError N/A mock assert_has_calls kall_list any_order True N/A test_assert_has_calls N/A N/A self N/A N/A N/A kalls1 N/A N/A call 1 2 N/A N/A a 3 N/A N/A 3 4 N/A call b 6 N/A N/A 1 N/A b 6 N/A kalls2 N/A N/A N/A call foo N/A N/A call bar 1 N/A N/A N/A kalls2 extend N/A N/A N/A N/A N/A N/A call spam baz a 3 call_list N/A N/A N/A kalls2 extend N/A N/A N/A N/A N/A N/A call bam N/A set foo N/A fish N/A 1 call_list N/A mocks N/A N/A mock N/A N/A Mock N/A MagicMock N/A N/A N/A mock 1 2 N/A N/A mock a 3 N/A N/A mock 3 4 N/A N/A mock b 6 N/A N/A mock 1 b 6 N/A N/A N/A mocks append N/A mock kalls1 N/A mock N/A Mock N/A N/A N/A mock foo N/A N/A N/A mock bar 1 N/A N/A N/A N/A N/A mock spam baz a 3 N/A N/A N/A N/A N/A mock bam N/A set foo N/A fish N/A 1 N/A N/A N/A mocks append N/A mock kalls2 N/A N/A mock kalls mocks N/A N/A i N/A range N/A len kalls N/A N/A step N/A 1 2 3 N/A N/A these N/A kalls N/A i N/A i step N/A N/A N/A mock assert_has_calls these N/A N/A N/A len these 1 N/A N/A N/A N/A self assertRaises AssertionError N/A mock assert_has_calls N/A list N/A reversed these N/A test_assert_any_call N/A N/A self N/A N/A N/A mock N/A Mock N/A N/A mock 1 2 N/A N/A mock a 3 N/A N/A mock 1 b 6 N/A N/A N/A mock assert_any_call 1 2 N/A N/A N/A mock assert_any_call a 3 N/A N/A N/A mock assert_any_call 1 b 6 N/A N/A N/A self assertRaises AssertionError N/A mock assert_any_call N/A N/A N/A self assertRaises AssertionError N/A mock assert_any_call 1 3 N/A N/A N/A self assertRaises AssertionError N/A mock assert_any_call a 4 N/A test_mock_calls_create_autospec N/A N/A self N/A N/A f N/A N/A a b N/A N/A N/A N/A N/A obj N/A Iter N/A N/A obj f f N/A funcs N/A N/A create_autospec f N/A N/A create_autospec obj f N/A func funcs N/A N/A N/A func 1 2 N/A N/A func 3 4 N/A N/A N/A self assertEqual N/A func mock_calls N/A N/A call 1 2 N/A call 3 4 N/A test_mock_add_spec N/A N/A self N/A N/A _One N/A object N/A N/A one 1 N/A _Two N/A object N/A N/A two 2 N/A Anything N/A object N/A N/A one two three four N/A N/A klasses N/A Mock MagicMock NonCallableMock NonCallableMagicMock N/A Klass N/A list klasses N/A N/A N/A N/A klasses append N/A N/A N/A K N/A Klass N/A K spec Anything N/A N/A N/A klasses append N/A N/A N/A K N/A Klass N/A K spec_set Anything N/A Klass klasses N/A N/A kwargs N/A N/A dict N/A dict spec_set True N/A N/A mock N/A Klass N/A N/A N/A mock one N/A mock two N/A mock three N/A N/A One Two N/A N/A _One _Two N/A N/A one N/A two N/A N/A kwargs N/A N/A dict N/A dict spec_set True N/A N/A N/A N/A mock mock_add_spec One kwargs N/A N/A mock one N/A N/A N/A self assertRaises AttributeError getattr mock two N/A N/A N/A self assertRaises AttributeError getattr mock three N/A N/A spec_set kwargs N/A N/A N/A N/A self assertRaises AttributeError setattr mock three None N/A N/A N/A mock mock_add_spec Two kwargs N/A N/A N/A self assertRaises AttributeError getattr mock one N/A N/A mock two N/A N/A N/A self assertRaises AttributeError getattr mock three N/A N/A spec_set kwargs N/A N/A N/A N/A self assertRaises AttributeError setattr mock three None N/A test_mock_add_spec_magic_methods N/A N/A self N/A N/A N/A Klass N/A MagicMock NonCallableMagicMock N/A N/A mock N/A Klass N/A N/A int mock N/A N/A N/A mock mock_add_spec object N/A N/A N/A self assertRaises TypeError int mock N/A mock N/A Klass N/A N/A mock N/A foo N/A N/A N/A mock __int__ return_value 4 N/A N/A N/A mock mock_add_spec int N/A N/A N/A self assertEqual N/A int mock 4 N/A N/A N/A self assertRaises TypeError N/A N/A N/A N/A N/A mock N/A foo N/A test_adding_child_mock N/A N/A self N/A N/A N/A Klass N/A NonCallableMock Mock MagicMock NonCallableMagicMock N/A N/A mock N/A Klass N/A N/A mock foo N/A Mock N/A N/A N/A mock foo N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A N/A call foo N/A N/A N/A self assertEqual N/A mock mock_calls N/A N/A N/A call foo N/A mock N/A Klass N/A N/A mock bar N/A Mock name name N/A N/A N/A mock bar N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A N/A N/A self assertEqual N/A mock mock_calls N/A N/A mock N/A Klass N/A N/A mock baz N/A N/A MagicMock N/A N/A N/A mock baz N/A N/A N/A self assertEqual N/A mock method_calls N/A N/A N/A N/A self assertEqual N/A mock mock_calls N/A N/A test_adding_return_value_mock N/A N/A self N/A N/A N/A Klass N/A Mock MagicMock N/A N/A mock N/A Klass N/A N/A mock return_value N/A MagicMock N/A N/A N/A mock N/A N/A N/A self assertEqual N/A mock mock_calls N/A N/A call N/A N/A call N/A test_manager_mock N/A N/A self N/A N/A Foo N/A object N/A N/A one one N/A two two N/A N/A manager N/A Mock N/A p1 N/A N/A patch object Foo one N/A p2 N/A N/A patch object Foo two N/A mock_one N/A N/A p1 start N/A N/A N/A self addCleanup N/A p1 stop N/A mock_two N/A N/A p2 start N/A N/A N/A self addCleanup N/A p2 stop N/A N/A N/A manager attach_mock mock_one one N/A N/A N/A manager attach_mock mock_two two N/A N/A N/A Foo two N/A N/A N/A Foo one N/A N/A N/A self assertEqual N/A manager mock_calls N/A N/A N/A call two N/A N/A call one N/A test_magic_methods_mock_calls N/A N/A self N/A N/A N/A Klass N/A Mock MagicMock N/A N/A m N/A Klass N/A N/A m __int__ N/A Mock return_value 3 N/A N/A m __float__ N/A MagicMock return_value 3.0 N/A N/A int m N/A N/A float m N/A N/A N/A self assertEqual N/A m mock_calls N/A N/A N/A call __int__ N/A N/A call __float__ N/A N/A N/A self assertEqual N/A m method_calls N/A N/A test_attribute_deletion N/A N/A self N/A N/A N/A Klass N/A Mock MagicMock NonCallableMagicMock NonCallableMock N/A N/A m N/A Klass N/A original N/A m foo N/A N/A m foo 3 N/A N/A m foo N/A N/A N/A self assertEqual N/A m foo original N/A new N/A m foo N/A Mock N/A N/A m foo N/A N/A N/A self assertEqual N/A m foo new N/A test_mock_parents N/A N/A self N/A N/A N/A Klass N/A Mock MagicMock N/A N/A m N/A Klass N/A original_repr N/A repr m N/A N/A m return_value m N/A N/A N/A self assertIs N/A m m N/A N/A N/A self assertEqual N/A repr m original_repr N/A N/A N/A m reset_mock N/A N/A N/A self assertIs N/A m m N/A N/A N/A self assertEqual N/A repr m original_repr N/A m N/A Klass N/A N/A m b N/A m a N/A N/A N/A self assertIn name='mock.a' N/A repr N/A m b N/A N/A N/A self assertIn name='mock.a' N/A repr N/A m a N/A N/A N/A m reset_mock N/A N/A N/A self assertIn name='mock.a' N/A repr N/A m b N/A N/A N/A self assertIn name='mock.a' N/A repr N/A m a N/A m N/A Klass N/A original_repr N/A repr m N/A N/A m a N/A m N/A N/A N/A m a return_value m N/A N/A N/A self assertEqual N/A repr m original_repr N/A N/A N/A self assertEqual N/A repr N/A N/A m a original_repr N/A test_attach_mock N/A N/A self N/A N/A N/A classes N/A Mock MagicMock NonCallableMagicMock NonCallableMock N/A Klass classes N/A N/A Klass2 classes N/A N/A m N/A Klass N/A m2 N/A Klass2 name foo N/A N/A N/A m attach_mock m2 bar N/A N/A N/A self assertIs N/A m bar m2 N/A N/A N/A self assertIn name='mock.bar' N/A repr m2 N/A N/A N/A N/A m bar baz 1 N/A N/A N/A self assertEqual N/A m mock_calls N/A N/A N/A N/A call bar baz 1 N/A N/A N/A self assertEqual N/A m method_calls N/A N/A N/A N/A call bar baz 1 N/A test_attach_mock_return_value N/A N/A self N/A N/A N/A classes N/A Mock MagicMock NonCallableMagicMock NonCallableMock N/A Klass N/A Mock MagicMock N/A N/A Klass2 classes N/A N/A m N/A Klass N/A m2 N/A Klass2 name foo N/A N/A N/A m attach_mock m2 return_value N/A N/A N/A self assertIs N/A m m2 N/A N/A N/A self assertIn name='mock()' N/A repr m2 N/A N/A N/A m2 foo N/A N/A N/A self assertEqual N/A m mock_calls N/A N/A N/A N/A N/A call foo call_list N/A test_attribute_deletion N/A N/A self N/A N/A N/A mock N/A N/A Mock N/A MagicMock N/A N/A N/A N/A self assertTrue N/A hasattr mock m N/A N/A mock m N/A N/A N/A self assertFalse N/A hasattr mock m N/A N/A mock f N/A N/A N/A self assertFalse N/A hasattr mock f N/A N/A N/A self assertRaises AttributeError getattr mock f N/A test_class_assignable N/A N/A self N/A N/A N/A mock N/A N/A Mock N/A MagicMock N/A N/A N/A N/A self assertNotIsInstance mock int N/A N/A mock __class__ int N/A N/A N/A self assertIsInstance mock int N/A N/A mock foo N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main