Module Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias alias Assign NameStore Str ClassDef bases NameLoad body Expr Str Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str Str kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Call NameLoad keyword Call NameLoad keyword NameLoad If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr Call NameLoad keyword Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Pass decorator_list Assign AttributeStore NameLoad attr Call NameLoad Return NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list Call NameLoad NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str attr Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str keyword NameLoad attr Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Dict Str Dict Str Str attr Call NameLoad AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Dict Str Str Assign NameStore Dict Str Str Expr Call NameLoad SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad attr Index Str Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Dict Str Dict Str NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Dict Str Dict Str NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad With Call NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str NameStore body Assign NameStore Call NameLoad Call NameLoad keyword Dict Str Dict Str Str Expr Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Str AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Expr Call NameLoad CompareIn NameLoad Call NameLoad NameLoad NameLoad orelse Assert NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad keyword NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr NameLoad keyword Call NameLoad Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr NameLoad keyword NameLoad keyword Call NameLoad Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str TryExcept body Assign NameStore Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num keyword Str attr NameLoad keyword NameLoad Assert NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assert CompareIn Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num keyword Str attr NameLoad keyword NameLoad keyword NameLoad Assert NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assert CompareIn Str NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Raise Call NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Num For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Assert NameLoad Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr NameLoad Expr Call NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Dict Str Str attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Dict Str Str attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call NameLoad Call NameLoad Str Call NameLoad Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call NameLoad Call NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Num decorator_list With Call NameLoad Str NameStore body Expr Call AttributeLoad Call NameLoad Call NameLoad attr NameLoad keyword Call NameLoad Str keyword Call NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr BinOpMult ListLoad Call NameLoad Num Num decorator_list Call NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Lambda arguments args defaults NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad If NameLoad body Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad orelse Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Dict Str Dict Str NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Num Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Num Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad Call NameLoad Str Call NameLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad keyword Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore NameLoad Assert CompareIsNot NameLoad NameLoad decorator_list decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Num decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Return Call NameLoad NameLoad Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call NameLoad NameLoad Call NameLoad NameLoad keyword NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Dict Str NameLoad attr NameLoad keyword NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults vararg body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr NameLoad decorator_list NameLoad Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad attr NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Call NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call NameLoad keyword Call NameLoad Str FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str decorator_list Call NameLoad keyword Call NameLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body With Call NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list Call NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad keyword Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore IfExp NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Call NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Index Num Str decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Index Str Str decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Index Num Str decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Index Str Str decorator_list Call NameLoad keyword NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Dict Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Str Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Index Str NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore Call NameLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Dict Str Str Assign NameStore Dict Str Str Str Str Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Index Num NameLoad decorator_list Call NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A locale N/A os N/A sys N/A types invoke.vendor.six StringIO b signal SIGINT SIGTERM spec Spec trap eq_ skip ok_ raises assert_contains assert_not_contains mock patch Mock call invoke Runner Local Context Config Failure ThreadException invoke.platform WINDOWS _util mock_subprocess mock_pty skip_if_windows N/A _ nope _Dummy N/A Runner N/A N/A 
    Dummy runner subclass that does minimum work required to execute run().
     N/A input_sleep 0 start N/A N/A self command shell env N/A N/A N/A N/A read_stdout N/A N/A self num_bytes N/A N/A N/A N/A read_stderr N/A N/A self num_bytes N/A N/A N/A N/A write_stdin N/A N/A self data N/A N/A N/A N/A default_encoding N/A N/A self N/A N/A N/A US-ASCII N/A wait N/A N/A self N/A N/A N/A N/A returncode N/A N/A self N/A N/A N/A 0 N/A send_interrupt N/A N/A self N/A N/A N/A N/A N/A _KeyboardInterruptingRunner N/A _Dummy N/A wait N/A N/A self N/A N/A N/A KeyboardInterrupt N/A N/A OhNoz N/A Exception N/A N/A N/A _expect_encoding N/A N/A codecs encoding N/A N/A N/A N/A N/A codecs iterdecode called N/A c N/A N/A codecs iterdecode call_args_list N/A N/A N/A eq_ N/A N/A c N/A 0 N/A 1 encoding N/A _run N/A N/A N/A args kwargs N/A N/A klass N/A N/A kwargs pop klass _Dummy N/A settings N/A N/A kwargs pop settings N/A N/A context N/A Context config N/A Config overrides settings N/A N/A N/A N/A klass context run args kwargs N/A _runner N/A N/A out err N/A kwargs N/A N/A klass N/A N/A kwargs pop klass _Dummy N/A runner N/A klass N/A Context config N/A Config overrides kwargs N/A N/A exits kwargs N/A N/A N/A runner returncode N/A Mock return_value N/A N/A kwargs pop exits N/A out_file N/A StringIO out N/A err_file N/A StringIO err N/A N/A runner read_stdout N/A out_file read N/A N/A runner read_stderr N/A err_file read N/A runner N/A Runner_ N/A Spec N/A _run N/A N/A self N/A args kwargs N/A N/A N/A _run args kwargs N/A _runner N/A N/A self N/A args kwargs N/A N/A N/A _runner args kwargs N/A _mock_stdin_writer N/A N/A self N/A N/A N/A 
        Return new _Dummy-based class whose write_stdin() method is a mock.
         MockedStdin N/A _Dummy N/A N/A N/A N/A N/A MockedStdin write_stdin N/A Mock N/A MockedStdin N/A init N/A N/A N/A __init__ takes_a_context_instance N/A N/A self N/A N/A N/A c N/A Context N/A N/A eq_ N/A N/A Runner c context c N/A context_instance_is_required N/A N/A self N/A N/A N/A N/A Runner N/A N/A raises TypeError N/A warn N/A N/A honors_config N/A N/A self N/A N/A N/A runner N/A N/A self _runner run N/A warn True exits 1 N/A N/A N/A runner run _ N/A kwarg_beats_config N/A N/A self N/A N/A N/A runner N/A N/A self _runner run N/A warn False exits 1 N/A N/A N/A runner run _ warn True N/A N/A hide N/A N/A honors_config N/A N/A self N/A N/A N/A runner N/A N/A self _runner out stuff run N/A hide True N/A r N/A N/A runner run _ N/A N/A eq_ N/A r stdout stuff N/A N/A eq_ N/A N/A N/A sys stdout getvalue N/A trap kwarg_beats_config N/A N/A self N/A N/A N/A runner N/A N/A self _runner out stuff N/A r N/A N/A runner run _ hide True N/A N/A eq_ N/A r stdout stuff N/A N/A eq_ N/A N/A N/A sys stdout getvalue N/A trap N/A pty N/A N/A pty_defaults_to_off N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ pty False N/A honors_config N/A N/A self N/A N/A N/A runner N/A N/A self _runner run N/A pty True N/A N/A eq_ N/A N/A N/A runner run _ pty True N/A kwarg_beats_config N/A N/A self N/A N/A N/A runner N/A N/A self _runner run N/A pty False N/A N/A eq_ N/A N/A N/A runner run _ pty True pty True N/A N/A shell N/A N/A defaults_to_bash_when_pty_True N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ pty True shell /bin/bash N/A defaults_to_bash_when_pty_False N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ pty False shell /bin/bash N/A may_be_overridden N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ shell /bin/zsh shell /bin/zsh N/A may_be_configured N/A N/A self N/A N/A N/A runner N/A N/A self _runner run N/A shell /bin/tcsh N/A N/A eq_ N/A N/A N/A runner run _ shell /bin/tcsh N/A kwarg_beats_config N/A N/A self N/A N/A N/A runner N/A N/A self _runner run N/A shell /bin/tcsh N/A N/A eq_ N/A N/A N/A runner run _ shell /bin/zsh shell /bin/zsh N/A N/A env N/A N/A defaults_to_os_environ N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ env N/A os environ N/A updates_when_dict_given N/A N/A self N/A N/A N/A expected N/A dict N/A os environ FOO BAR N/A N/A eq_ N/A N/A N/A self _run _ env N/A FOO BAR env expected N/A replaces_when_replace_env_True N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ env N/A JUST ME replace_env True env N/A JUST ME N/A config_can_be_used N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ settings N/A run N/A env N/A FOO BAR env N/A dict N/A os environ FOO BAR N/A kwarg_wins_over_config N/A N/A self N/A N/A N/A settings N/A run N/A env N/A FOO BAR N/A kwarg N/A FOO NOTBAR N/A N/A eq_ N/A N/A N/A N/A self _run _ settings settings env kwarg env N/A FOO NOTBAR N/A N/A return_value N/A N/A return_code_in_result N/A N/A self N/A N/A N/A 
            Result has .return_code (and .exited) containing exit code int
             N/A runner N/A N/A self _runner exits 17 N/A r N/A N/A runner run _ warn True N/A N/A eq_ N/A r return_code 17 N/A N/A eq_ N/A r exited 17 N/A ok_attr_indicates_success N/A N/A self N/A N/A N/A runner N/A N/A self _runner N/A N/A eq_ N/A N/A N/A runner run _ ok True N/A ok_attr_indicates_failure N/A N/A self N/A N/A N/A runner N/A N/A self _runner exits 1 N/A N/A eq_ N/A N/A N/A runner run _ warn True ok False N/A failed_attr_indicates_success N/A N/A self N/A N/A N/A runner N/A N/A self _runner N/A N/A eq_ N/A N/A N/A runner run _ failed False N/A failed_attr_indicates_failure N/A N/A self N/A N/A N/A runner N/A N/A self _runner exits 1 N/A N/A eq_ N/A N/A N/A runner run _ warn True failed True N/A stdout_attribute_contains_stdout N/A N/A self N/A N/A N/A runner N/A N/A self _runner out foo N/A N/A eq_ N/A N/A N/A runner run _ stdout foo N/A N/A eq_ N/A N/A N/A sys stdout getvalue foo N/A trap stderr_attribute_contains_stderr N/A N/A self N/A N/A N/A runner N/A N/A self _runner err foo N/A N/A eq_ N/A N/A N/A runner run _ stderr foo N/A N/A eq_ N/A N/A N/A sys stderr getvalue foo N/A trap whether_pty_was_used N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ pty False N/A N/A eq_ N/A N/A N/A self _run _ pty True pty True N/A command_executed N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ command _ N/A shell_used N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ shell /bin/bash N/A N/A command_echoing N/A N/A off_by_default N/A N/A self N/A N/A N/A N/A N/A self _run my command N/A N/A eq_ N/A N/A N/A sys stdout getvalue N/A trap enabled_via_kwarg N/A N/A self N/A N/A N/A N/A N/A self _run my command echo True N/A N/A assert_contains N/A N/A N/A sys stdout getvalue my command N/A trap enabled_via_config N/A N/A self N/A N/A N/A N/A N/A self _run yup settings N/A run N/A echo True N/A N/A assert_contains N/A N/A N/A sys stdout getvalue yup N/A trap kwarg_beats_config N/A N/A self N/A N/A N/A N/A N/A self _run yup echo True settings N/A run N/A echo False N/A N/A assert_contains N/A N/A N/A sys stdout getvalue yup N/A trap uses_ansi_bold N/A N/A self N/A N/A N/A N/A N/A self _run my command echo True N/A N/A eq_ N/A N/A N/A sys stdout getvalue [1;37mmy command[0m
 N/A trap N/A encoding N/A N/A defaults_to_encoding_method_result N/A N/A self N/A N/A N/A runner N/A N/A self _runner N/A encoding UTF-7 N/A N/A runner default_encoding N/A Mock return_value encoding N/A N/A patch invoke.runners.codecs codecs N/A N/A N/A N/A runner run _ N/A N/A N/A N/A runner default_encoding assert_called_with N/A N/A _expect_encoding codecs encoding N/A honors_config N/A N/A self N/A N/A N/A N/A patch invoke.runners.codecs codecs N/A N/A c N/A Context N/A Config overrides N/A run N/A encoding UTF-7 N/A N/A N/A N/A _Dummy c run _ N/A N/A _expect_encoding codecs UTF-7 N/A honors_kwarg N/A N/A self N/A N/A N/A N/A skip N/A N/A output_hiding N/A N/A _expect_hidden N/A N/A self hide expect_out expect_err N/A N/A N/A N/A N/A N/A N/A self _runner out foo err bar run _ hide hide N/A N/A eq_ N/A N/A N/A sys stdout getvalue expect_out N/A N/A eq_ N/A N/A N/A sys stderr getvalue expect_err N/A trap both_hides_everything N/A N/A self N/A N/A N/A N/A N/A self _expect_hidden both N/A True_hides_everything N/A N/A self N/A N/A N/A N/A N/A self _expect_hidden True N/A out_only_hides_stdout N/A N/A self N/A N/A N/A N/A N/A self _expect_hidden out expect_out expect_err bar N/A err_only_hides_stderr N/A N/A self N/A N/A N/A N/A N/A self _expect_hidden err expect_out foo expect_err N/A accepts_stdout_alias_for_out N/A N/A self N/A N/A N/A N/A N/A self _expect_hidden stdout expect_out expect_err bar N/A accepts_stderr_alias_for_err N/A N/A self N/A N/A N/A N/A N/A self _expect_hidden stderr expect_out foo expect_err N/A None_hides_nothing N/A N/A self N/A N/A N/A N/A N/A self _expect_hidden None expect_out foo expect_err bar N/A False_hides_nothing N/A N/A self N/A N/A N/A N/A N/A self _expect_hidden False expect_out foo expect_err bar N/A unknown_vals_raises_ValueError N/A N/A self N/A N/A N/A N/A N/A self _run _ hide wat? N/A N/A raises ValueError unknown_vals_mention_value_given_in_error N/A N/A self N/A N/A N/A value penguinmints N/A N/A N/A N/A N/A self _run _ hide value N/A N/A N/A ValueError N/A e N/A N/A msg Error from run(hide=xxx) did not tell user what the bad value was! N/A msg N/A N/A 
Exception msg: {0} format e N/A N/A ok_ N/A value N/A str e msg N/A N/A False run() did not raise ValueError for bad hide= value N/A does_not_affect_capturing N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A self _runner out foo run _ hide True stdout foo N/A overrides_echoing N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _runner run invisible hide True echo True N/A N/A assert_not_contains N/A N/A N/A sys stdout getvalue invisible N/A trap N/A output_stream_overrides N/A N/A out_defaults_to_sys_stdout N/A N/A self N/A N/A N/A out_stream defaults to sys.stdout N/A N/A N/A N/A N/A self _runner out sup run _ N/A N/A eq_ N/A N/A N/A sys stdout getvalue sup N/A trap err_defaults_to_sys_stderr N/A N/A self N/A N/A N/A err_stream defaults to sys.stderr N/A N/A N/A N/A N/A self _runner err sup run _ N/A N/A eq_ N/A N/A N/A sys stderr getvalue sup N/A trap out_can_be_overridden N/A N/A self N/A N/A N/A out_stream can be overridden N/A out N/A StringIO N/A N/A N/A N/A N/A self _runner out sup run _ out_stream out N/A N/A eq_ N/A N/A out getvalue sup N/A N/A eq_ N/A N/A N/A sys stdout getvalue N/A trap err_can_be_overridden N/A N/A self N/A N/A N/A err_stream can be overridden N/A err N/A StringIO N/A N/A N/A N/A N/A self _runner err sup run _ err_stream err N/A N/A eq_ N/A N/A err getvalue sup N/A N/A eq_ N/A N/A N/A sys stderr getvalue N/A trap pty_defaults_to_sys N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _runner out sup run _ pty True N/A N/A eq_ N/A N/A N/A sys stdout getvalue sup N/A trap pty_out_can_be_overridden N/A N/A self N/A N/A N/A out N/A StringIO N/A N/A N/A N/A N/A self _runner out yo run _ pty True out_stream out N/A N/A eq_ N/A N/A out getvalue yo N/A N/A eq_ N/A N/A N/A sys stdout getvalue N/A trap N/A output_stream_handling N/A N/A writes_and_flushes_to_stdout N/A N/A self N/A N/A N/A out N/A Mock spec StringIO N/A N/A N/A N/A N/A self _runner out meh run _ out_stream out N/A N/A N/A N/A out write assert_called_once_with meh N/A N/A N/A N/A out flush assert_called_once_with N/A writes_and_flushes_to_stderr N/A N/A self N/A N/A N/A err N/A Mock spec StringIO N/A N/A N/A N/A N/A self _runner err whatever run _ err_stream err N/A N/A N/A N/A err write assert_called_once_with whatever N/A N/A N/A N/A err flush assert_called_once_with N/A N/A input_stream_handling N/A N/A defaults_to_sys_stdin N/A N/A self N/A N/A N/A klass N/A N/A self _mock_stdin_writer N/A N/A N/A N/A N/A self _runner klass klass run _ out_stream N/A StringIO N/A calls N/A list N/A map N/A N/A N/A x N/A N/A call N/A b x Text! N/A N/A N/A N/A klass write_stdin assert_has_calls calls any_order False N/A N/A patch invoke.runners.sys.stdin N/A StringIO Text! can_be_overridden N/A N/A self N/A N/A N/A klass N/A N/A self _mock_stdin_writer N/A in_stream N/A StringIO Hey, listen! N/A N/A N/A N/A N/A self _runner klass klass run _ in_stream in_stream out_stream N/A StringIO N/A calls N/A list N/A map N/A N/A N/A x N/A N/A call N/A b x Hey, listen! N/A N/A N/A N/A klass write_stdin assert_has_calls calls any_order False N/A exceptions_get_logged N/A N/A self mock_debug N/A N/A N/A klass N/A N/A self _mock_stdin_writer N/A N/A N/A klass write_stdin side_effect N/A OhNoz oh god why N/A N/A N/A stdin N/A StringIO non-empty N/A N/A N/A N/A N/A self _runner klass klass run _ in_stream stdin N/A N/A N/A ThreadException N/A N/A N/A N/A N/A mock_debug assert_called_with Encountered exception OhNoz('oh god why',) in thread for 'handle_stdin' N/A N/A patch invoke.util.debug N/A failure_handling N/A N/A fast_failures N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _runner exits 1 run _ N/A N/A raises Failure non_one_return_codes_still_act_as_failure N/A N/A self N/A N/A N/A r N/A N/A N/A N/A self _runner exits 17 run _ warn True N/A N/A eq_ N/A r failed True N/A Failure_repr_includes_stderr N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A self _runner exits 1 err ohnoz run _ hide True N/A false N/A N/A N/A Failure N/A f N/A N/A r N/A repr f N/A err N/A N/A Sentinel 'ohnoz' not found in {0!r} format r N/A N/A ohnoz r err N/A Failure_repr_should_present_stdout_when_pty_was_used N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A self _runner exits 1 out ohnoz run _ hide True pty True N/A false N/A N/A N/A Failure N/A f N/A N/A r N/A repr f N/A err N/A N/A Sentinel 'ohnoz' not found in {0!r} format r N/A N/A ohnoz r err N/A N/A threading N/A N/A errors_within_io_thread_body_bubble_up N/A N/A self N/A N/A Oops N/A _Dummy N/A handle_stdout N/A N/A self N/A kwargs N/A N/A N/A OhNoz N/A handle_stderr N/A N/A self N/A kwargs N/A N/A N/A OhNoz N/A N/A N/A runner N/A Oops N/A Context N/A N/A N/A N/A N/A runner run nah N/A N/A N/A ThreadException N/A e N/A N/A N/A eq_ N/A len N/A e exceptions 2 N/A tup N/A e exceptions N/A N/A N/A ok_ N/A isinstance N/A tup value OhNoz N/A N/A ok_ N/A isinstance N/A tup traceback N/A types TracebackType N/A N/A eq_ N/A tup type OhNoz N/A N/A False Did not raise ThreadException as expected! N/A N/A responding N/A N/A nothing_is_written_to_stdin_by_default N/A N/A self N/A N/A N/A klass N/A N/A self _mock_stdin_writer N/A N/A N/A N/A N/A self _runner klass klass run _ N/A N/A ok_ N/A N/A N/A klass write_stdin called N/A _expect_response N/A N/A self N/A kwargs N/A N/A 
            Execute a run() w/ ``responses`` set & _runner() ``kwargs`` given.

            :returns: The mocked ``write_stdin`` method of the runner.
             N/A klass N/A N/A self _mock_stdin_writer N/A N/A kwargs N/A klass klass N/A runner N/A N/A self _runner kwargs N/A N/A N/A runner run _ responses N/A kwargs N/A responses hide True N/A N/A klass write_stdin N/A string_keys_in_responses_kwarg_yield_values_as_stdin_writes N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _expect_response out the house was empty responses N/A empty handed assert_called_once_with N/A b handed N/A regex_keys_also_work N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _expect_response out technically, it's still debt responses N/A tech.*debt pay it down assert_called_once_with N/A b pay it down N/A multiple_hits_yields_multiple_responses N/A N/A self N/A N/A N/A holla N/A call N/A b how high? N/A N/A N/A N/A N/A self _expect_response out jump, wait, jump, wait responses N/A jump how high? assert_has_calls N/A holla holla N/A chunk_sizes_smaller_than_patterns_still_work_ok N/A N/A self N/A N/A N/A klass N/A N/A self _mock_stdin_writer N/A N/A klass read_chunk_size 1 N/A responses N/A jump how high? N/A runner N/A N/A self _runner klass klass out jump, wait, jump, wait N/A N/A N/A runner run _ responses responses hide True N/A holla N/A call N/A b how high? N/A N/A N/A N/A klass write_stdin assert_has_calls N/A holla holla N/A N/A eq_ N/A len N/A N/A klass write_stdin call_args_list 2 N/A patterns_span_multiple_lines N/A N/A self N/A N/A N/A output 
You only call me
when you have a problem
You never call me
Just to say hi
 N/A N/A N/A N/A N/A self _expect_response out output responses N/A call.*problem So sorry assert_called_once_with N/A b So sorry N/A both_out_and_err_are_scanned N/A N/A self N/A N/A N/A bye N/A call N/A b goodbye N/A N/A N/A N/A N/A self _expect_response out hello my name is inigo err hello how are you responses N/A hello goodbye assert_has_calls N/A bye bye N/A multiple_patterns_works_as_expected N/A N/A self N/A N/A N/A calls N/A N/A call N/A b betty N/A call N/A b carnival N/A N/A N/A N/A N/A self _expect_response out beep boop I am a robot responses N/A boop robot betty carnival assert_has_calls calls any_order True N/A multiple_patterns_across_both_streams N/A N/A self N/A N/A N/A responses N/A boop robot Destroy humans betty carnival your ego are awful N/A calls N/A map N/A N/A N/A x N/A N/A call N/A b x N/A N/A responses values N/A N/A N/A N/A N/A self _expect_response out beep boop, I am a robot err Destroy all humans! responses responses assert_has_calls calls any_order True N/A N/A io_sleeping N/A N/A input_sleep_attribute_defaults_to_hundredth_of_second N/A N/A self N/A N/A N/A N/A eq_ N/A N/A Runner N/A Context input_sleep 0.01 N/A subclasses_can_override_input_sleep N/A N/A self N/A N/A MyRunner N/A _Dummy N/A N/A input_sleep 0.007 N/A N/A N/A patch invoke.runners.time mock_time N/A N/A N/A N/A N/A MyRunner N/A Context run _ in_stream N/A StringIO foo out_stream N/A StringIO N/A N/A eq_ N/A N/A mock_time sleep call_args_list N/A N/A N/A call 0.007 3 N/A N/A mock_subprocess N/A stdin_mirroring N/A N/A _test_mirroring N/A N/A self expect_mirroring N/A kwargs N/A N/A fake_in I'm typing! N/A output N/A Mock N/A input_ N/A StringIO fake_in N/A input_is_pty N/A N/A kwargs pop in_pty None MyRunner N/A _Dummy N/A echo_stdin N/A N/A self input_ output N/A N/A N/A N/A input_is_pty None N/A N/A N/A input_ isatty N/A N/A N/A N/A input_is_pty N/A N/A N/A N/A super MyRunner self echo_stdin input_ output N/A N/A N/A N/A N/A self _run _ klass MyRunner in_stream input_ out_stream output kwargs N/A expect_mirroring N/A N/A N/A eq_ N/A N/A output write call_args_list N/A list N/A map call fake_in N/A N/A eq_ N/A len N/A N/A output flush call_args_list N/A len fake_in N/A N/A N/A eq_ N/A N/A output write call_args_list N/A N/A when_pty_is_True_no_mirroring_occurs N/A N/A self N/A N/A N/A N/A N/A self _test_mirroring pty True expect_mirroring False N/A when_pty_is_False_we_write_in_stream_back_to_out_stream N/A N/A self N/A N/A N/A N/A N/A self _test_mirroring pty False in_pty True expect_mirroring True N/A mirroring_is_skipped_when_our_input_is_not_a_tty N/A N/A self N/A N/A N/A N/A N/A self _test_mirroring in_pty False expect_mirroring False N/A mirroring_can_be_forced_on N/A N/A self N/A N/A N/A N/A N/A self _test_mirroring pty True echo_stdin True expect_mirroring True N/A mirroring_can_be_forced_off N/A N/A self N/A N/A N/A N/A N/A self _test_mirroring pty False in_pty True echo_stdin False expect_mirroring False N/A mirroring_honors_configuration N/A N/A self N/A N/A N/A N/A N/A self _test_mirroring pty False in_pty True settings N/A run N/A echo_stdin False expect_mirroring False N/A N/A character_buffered_stdin N/A N/A setcbreak_called_on_tty_stdins N/A N/A self mock_termios mock_tty N/A N/A N/A N/A N/A self _run _ N/A N/A N/A N/A mock_tty setcbreak assert_called_with N/A sys stdin N/A skip_if_windows N/A patch invoke.platform.tty N/A patch invoke.platform.termios setcbreak_not_called_on_non_tty_stdins N/A N/A self mock_tty N/A N/A N/A N/A N/A self _run _ in_stream N/A StringIO N/A N/A eq_ N/A N/A mock_tty setcbreak call_args_list N/A N/A skip_if_windows N/A patch invoke.platform.tty tty_stdins_have_settings_restored_by_default N/A N/A self mock_termios mock_tty N/A N/A N/A sentinel N/A 1 7 3 27 N/A N/A N/A mock_termios tcgetattr return_value sentinel N/A N/A N/A self _run _ N/A N/A N/A N/A mock_termios tcsetattr assert_called_once_with N/A sys stdin N/A mock_termios TCSADRAIN sentinel N/A skip_if_windows N/A patch invoke.platform.tty N/A patch invoke.platform.termios tty_stdins_have_settings_restored_on_KeyboardInterrupt N/A N/A self mock_termios mock_tty N/A N/A N/A sentinel N/A 1 7 3 27 N/A N/A N/A mock_termios tcgetattr return_value sentinel N/A N/A N/A N/A N/A self _run _ klass _KeyboardInterruptingRunner N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A N/A mock_termios tcsetattr assert_called_once_with N/A sys stdin N/A mock_termios TCSADRAIN sentinel N/A skip_if_windows N/A patch invoke.platform.tty N/A patch invoke.platform.termios N/A keyboard_interrupts_act_transparently N/A N/A _run_with_mocked_interrupt N/A N/A self klass N/A N/A N/A runner N/A klass N/A Context config N/A Config N/A N/A runner send_interrupt N/A Mock N/A N/A N/A N/A N/A runner run _ N/A N/A N/A N/A N/A runner N/A send_interrupt_called_on_KeyboardInterrupt N/A N/A self N/A N/A N/A runner N/A N/A self _run_with_mocked_interrupt _KeyboardInterruptingRunner N/A N/A N/A runner send_interrupt called N/A send_interrupt_not_called_for_other_exceptions N/A N/A self N/A N/A _GenericExceptingRunner N/A _Dummy N/A wait N/A N/A self N/A N/A N/A Exception N/A N/A N/A runner N/A N/A self _run_with_mocked_interrupt _GenericExceptingRunner N/A N/A N/A N/A runner send_interrupt called N/A KeyboardInterrupt_is_still_raised N/A N/A self N/A N/A N/A raised None N/A N/A N/A N/A N/A self _run _ klass _KeyboardInterruptingRunner N/A N/A N/A KeyboardInterrupt N/A e N/A N/A raised e N/A N/A raised None N/A N/A N/A _FastLocal N/A Local N/A N/A input_sleep 0 N/A _KeyboardInterruptingFastLocal N/A _FastLocal N/A wait N/A N/A self N/A N/A N/A KeyboardInterrupt N/A N/A Local_ N/A Spec N/A _run N/A N/A self N/A args kwargs N/A N/A N/A _run args N/A dict kwargs klass _FastLocal N/A _runner N/A N/A self N/A args kwargs N/A N/A N/A _runner args N/A dict kwargs klass _FastLocal N/A pty_and_pty_fallback N/A N/A when_pty_True_we_use_pty_fork_and_os_exec N/A N/A self N/A N/A N/A when pty=True, we use pty.fork and os.exec* N/A N/A N/A self _run _ pty True N/A N/A mock_pty pty_is_set_to_controlling_terminal_size N/A N/A self N/A N/A N/A N/A N/A self _run _ pty True N/A N/A mock_pty warning_only_fires_once N/A N/A self N/A N/A N/A N/A skip N/A can_be_overridden_by_kwarg N/A N/A self N/A N/A N/A N/A N/A self _run _ pty True fallback False N/A N/A mock_pty isatty False can_be_overridden_by_config N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _runner run N/A fallback False run _ pty True N/A N/A mock_pty isatty False fallback_affects_result_pty_value N/A N/A self N/A mocks N/A N/A N/A eq_ N/A N/A N/A self _run _ pty True pty False N/A trap N/A mock_subprocess isatty False overridden_fallback_affects_result_pty_value N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A self _run _ pty True fallback False pty True N/A N/A mock_pty isatty False replaced_stdin_objects_dont_explode N/A N/A self mock_sys N/A N/A N/A N/A mock_sys stdin N/A object N/A runner N/A Local N/A Context N/A N/A eq_ N/A N/A runner should_use_pty pty True fallback True False N/A N/A patch invoke.runners.sys spurious_OSErrors_handled_gracefully N/A N/A self N/A N/A N/A N/A N/A self _run _ pty True N/A N/A mock_pty trailing_error N/A OSError Input/output error non_spurious_OSErrors_bubble_up N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _run _ pty True N/A N/A N/A ThreadException N/A e N/A N/A e N/A N/A e exceptions N/A 0 N/A N/A eq_ N/A e type OSError N/A N/A eq_ N/A str N/A e value wat N/A N/A mock_pty trailing_error N/A OSError wat N/A encoding N/A N/A uses_locale_module_for_desired_encoding N/A N/A self N/A N/A N/A N/A patch invoke.runners.codecs codecs N/A N/A N/A N/A self _run _ N/A local_encoding N/A N/A locale getpreferredencoding False N/A N/A _expect_encoding codecs local_encoding N/A N/A mock_subprocess N/A send_interrupt N/A N/A _run N/A N/A self pty N/A N/A N/A runner N/A _KeyboardInterruptingFastLocal N/A Context config N/A Config N/A N/A N/A N/A N/A runner run _ pty pty N/A N/A N/A KeyboardInterrupt N/A N/A N/A runner N/A uses_os_kill_when_pty_True N/A N/A self N/A N/A N/A N/A patch invoke.runners.os.kill kill N/A N/A runner N/A N/A self _run pty True N/A N/A N/A kill assert_called_once_with N/A runner pid SIGINT N/A N/A mock_pty skip_asserts True uses_subprocess_send_signal_when_pty_False N/A N/A self N/A N/A N/A runner N/A N/A self _run pty False N/A expected N/A WINDOWS SIGTERM SIGINT N/A N/A N/A N/A N/A runner process send_signal assert_called_once_with expected N/A N/A mock_subprocess N/A shell N/A N/A defaults_to_bash_when_pty_True N/A N/A self mock_os N/A N/A N/A N/A N/A self _run _ pty True N/A N/A eq_ N/A N/A N/A N/A N/A mock_os execve call_args_list N/A 0 N/A 0 N/A 0 /bin/bash N/A N/A mock_pty insert_os True defaults_to_bash_when_pty_False N/A N/A self mock_Popen N/A N/A N/A N/A N/A self _run _ pty False N/A N/A eq_ N/A N/A N/A N/A mock_Popen call_args_list N/A 0 N/A 1 N/A executable /bin/bash N/A N/A mock_subprocess insert_Popen True may_be_overridden_when_pty_True N/A N/A self mock_os N/A N/A N/A N/A N/A self _run _ pty True shell /bin/zsh N/A N/A eq_ N/A N/A N/A N/A N/A mock_os execve call_args_list N/A 0 N/A 0 N/A 0 /bin/zsh N/A N/A mock_pty insert_os True may_be_overridden_when_pty_False N/A N/A self mock_Popen N/A N/A N/A N/A N/A self _run _ pty False shell /bin/zsh N/A N/A eq_ N/A N/A N/A N/A mock_Popen call_args_list N/A 0 N/A 1 N/A executable /bin/zsh N/A N/A mock_subprocess insert_Popen True N/A env N/A N/A uses_Popen_kwarg_for_pty_False N/A N/A self mock_Popen N/A N/A N/A N/A N/A self _run _ pty False env N/A FOO BAR N/A expected N/A dict N/A os environ FOO BAR N/A N/A eq_ N/A N/A N/A N/A mock_Popen call_args_list N/A 0 N/A 1 N/A env expected N/A N/A mock_subprocess insert_Popen True uses_execve_for_pty_True N/A N/A self mock_os N/A N/A N/A N/A N/A type mock_os environ N/A OTHERVAR OTHERVAL N/A N/A N/A self _run _ pty True env N/A FOO BAR N/A expected N/A OTHERVAR FOO OTHERVAL BAR N/A N/A eq_ N/A N/A N/A N/A N/A mock_os execve call_args_list N/A 0 N/A 0 N/A 2 expected N/A N/A mock_pty insert_os True N/A N/A