Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Assign NameStore CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Str If NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore Str Assign NameStore ListLoad NameLoad Str NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Num While CompareGt Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Break Expr Call AttributeLoad NameLoad attr Num orelse Expr Call NameLoad Str orelse Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body If Call NameLoad NameLoad body Return NameLoad orelse For NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad While Num body If CompareIn NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num Return Expr Call AttributeLoad NameLoad attr Num If CompareGtE Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass ExceptHandler type AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Assign TupleStore NameStore NameStore NameLoad Assert Call NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad NameLoad Num NameLoad For NameStore NameLoad body Assert CompareLtELtE Num NameLoad Num NameLoad Assert CompareLtELtE Num NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad While CompareLt Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad If Call NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr Num Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad If NameLoad body AugAssignAdd NameStore BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return orelse Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Expr Str If UnaryOpNot NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body FunctionDef arguments args NameParam defaults body TryExcept body Return Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad Str body Return NameLoad Assign NameStore NameLoad TryFinally body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Num handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad finalbody If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr While AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BoolOpOr NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad BinOpSub NameLoad NameLoad If CompareLtE NameLoad NameLoad body Return Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert CompareIn Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assert CompareIn AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assert CompareNotIn AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assert Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assert CompareGt NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assert Call NameLoad NameLoad NameLoad Assert CompareGt NameLoad Num Assert CompareLt NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TryExcept body Expr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Assert CompareLtELtE Num AttributeLoad NameLoad attr Num NameLoad Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad For NameStore AttributeLoad NameLoad attr body If CompareNotEq NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot CompareGtE NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareGt NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Assert CompareLtELtE Num AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body TryExcept body Assert Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Num If CompareIn NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd Call NameLoad NameLoad Num BinOpAdd Call NameLoad NameLoad Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad For NameStore NameLoad body Assert Call NameLoad NameLoad NameLoad Assert CompareGtE NameLoad Num NameLoad AugAssignAdd NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad If UnaryOpNot CompareGtE NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assign NameStore Num Expr Call NameLoad NameLoad For NameStore NameLoad body Assert Call NameLoad NameLoad NameLoad Assert CompareGtE NameLoad Num NameLoad AugAssignAdd NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Num While Num body If CompareGtE Call AttributeLoad NameLoad attr NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad If CompareGtE NameLoad Num body Return Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr keyword Num For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assert Call NameLoad NameLoad NameLoad Assert CompareGtE NameLoad Num NameLoad Assert CompareLtE NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword NameLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad For NameStore NameLoad body Assert Call NameLoad NameLoad NameLoad Assert CompareGtE NameLoad Num NameLoad Assert CompareLtE NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Assert CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareLtELtE Num AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr body Raise orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assert AttributeLoad NameLoad attr NameLoad Assert Call NameLoad AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareNotIn AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise orelse Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assert Call NameLoad AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assert CompareNotEq NameLoad ListLoad For NameStore NameLoad body Assert NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad Assert CompareGtE AttributeLoad NameLoad attr Num NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body Assert NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assert NameLoad For NameStore NameLoad body Assert AttributeLoad NameLoad attr NameLoad Expr AttributeLoad NameLoad attr Expr AttributeLoad NameLoad attr Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore Str AugAssignAdd NameStore Str Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Num While Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body If CompareGtE Call AttributeLoad NameLoad attr NameLoad body Raise orelse Break If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr keyword Num For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assert Call NameLoad NameLoad NameLoad Assert CompareGtE NameLoad Num NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body Assert CompareLtE NameLoad Num NameLoad orelse Assert CompareGtE NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Assert BoolOpOr CompareGt AttributeLoad NameLoad attr Num CompareGt AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num If CompareGt BinOpSub Call NameLoad ListLoad NameLoad NameLoad Call NameLoad ListLoad NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareGt BinOpSub Call NameLoad ListLoad NameLoad NameLoad Call NameLoad ListLoad NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list Call NameLoad BoolOpAnd CompareGt AttributeLoad NameLoad attr TupleLoad Num Num Num UnaryOpNot NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpSub NameLoad NameLoad If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assert CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMult Str Num Str orelse Expr Call AttributeLoad NameLoad attr BinOpMult Str Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body ImportFrom alias alias alias alias Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr finalbody If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareGt Call AttributeLoad NameLoad attr Num decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpAdd Call NameLoad NameLoad Num If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr finalbody If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareGt NameLoad Num Assert CompareGt NameLoad Num Assign NameStore BinOpMult ListLoad NameLoad Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareGt NameLoad NameLoad Assert CompareGtE NameLoad NameLoad Assert CompareGt NameLoad NameLoad Delete NameDel decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareNotIn Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Continue orelse If CompareIn NameLoad TupleLoad Str Str body Assert NameLoad NameLoad orelse Assert Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assert CompareGtE NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareGt Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assert UnaryOpNot Call AttributeLoad NameLoad attr Assert UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr ListLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr attr NameLoad decorator_list If CompareEq AttributeLoad NameLoad attr Str body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str TryFinally body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body Pass finalbody TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list If CompareEq AttributeLoad NameLoad attr Str body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str TryFinally body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Import alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr orelse If NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad Str Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str keyword Num decorator_list Call NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call NameLoad AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpOr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Call AttributeLoad NameLoad attr body Break orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareNotIn AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Break Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num orelse Assert CompareGt AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num Str decorator_list Call NameLoad Call NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr keyword Str Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr keyword Str Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Call NameLoad NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Break orelse Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad If Call NameLoad body Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr body For NameStore Call AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIn NameLoad TupleLoad Str Str Str Str Str body Assert CompareNotEq NameLoad ListLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIn NameLoad TupleLoad Str Str Str Str Str body Assert CompareNotEq NameLoad ListLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIn NameLoad TupleLoad Str Str Str Str Str body Assert CompareNotEq NameLoad ListLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIn NameLoad TupleLoad Str Str Str Str Str body Assert CompareNotEq NameLoad ListLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareGt NameLoad NameLoad body Return Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad ListLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str Expr Call NameLoad keyword ListLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Num While CompareLt Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareGt Call NameLoad NameLoad Num body Break Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body TryExcept body AugAssignAdd SubscriptStore NameLoad Index AttributeLoad NameLoad attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Break Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assert CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Import alias handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str keyword Str If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body If BoolOpOr Call AttributeLoad NameLoad attr Str CompareIn NameLoad TupleLoad Str Str Str Str Str Str Str Str Str body Continue TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad body Expr Call NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad TryExcept body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Expr Call AttributeLoad NameLoad attr Str If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str orelse If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str orelse Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr TryFinally body Expr AttributeLoad NameLoad attr Expr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BoolOpOr NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body Continue If Call AttributeLoad NameLoad attr Str body Continue If CompareIn NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body For NameStore NameLoad body TryExcept body TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad orelse Assign NameStore NameLoad AugAssignAdd NameStore Num handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareNotIn NameLoad TupleLoad Num Num ListLoad NameLoad Str body Assert NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareGt NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Assert CompareEq NameLoad Str orelse Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGt NameLoad Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num Expr Call AttributeLoad NameLoad attr CompareNotEq Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr CompareGtE Call NameLoad NameLoad NameLoad Num If BoolOpAnd NameLoad CompareNotEq AttributeLoad NameLoad attr Num body For NameStore AttributeLoad NameLoad attr body If CompareNotEq NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareGt AttributeLoad NameLoad attr NameLoad NameLoad orelse If NameLoad body Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If NameLoad body Assert CompareEq AttributeLoad NameLoad attr Num NameLoad orelse Assert Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num Expr Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot NameLoad Call NameLoad NameLoad Str body Assign NameStore NameLoad TryFinally body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr body Continue Raise If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareLtELtE Num NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareNotEq NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assert Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assert CompareGtE NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Assert CompareGtE NameLoad Num orelse Assert CompareGt NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Assert CompareLtELtE Num NameLoad Num NameLoad orelse Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num decorator_list decorator_list If Call NameLoad NameLoad Str body ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Expr Call NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list Expr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body ImportFrom alias identifier orelse If NameLoad body ImportFrom alias identifier ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad orelse If NameLoad body ImportFrom alias identifier orelse If NameLoad body ImportFrom alias identifier Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body If CompareEq Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
psutil test suite.

Note: this is targeted for both python 2.x and 3.x so there's no need
to use 2to3 tool first.
 __future__ division N/A unittest N/A os N/A sys N/A subprocess N/A time N/A signal N/A types N/A traceback N/A socket N/A warnings N/A atexit N/A errno N/A threading N/A tempfile N/A stat N/A collections N/A datetime N/A psutil psutil._compat PY3 callable long N/A PYTHON N/A N/A N/A os path realpath N/A sys executable N/A DEVNULL N/A open N/A os devnull r+ N/A TESTFN N/A N/A N/A os path join N/A N/A os getcwd $testfile N/A POSIX N/A N/A os name posix N/A LINUX N/A N/A N/A sys platform startswith linux N/A WINDOWS N/A N/A N/A sys platform startswith win32 N/A OSX N/A N/A N/A sys platform startswith darwin N/A BSD N/A N/A N/A sys platform startswith freebsd N/A _subprocesses_started N/A set get_test_subprocess N/A N/A cmd stdout stderr stdin wait N/A None DEVNULL DEVNULL None False N/A N/A Return a subprocess.Popen object to use in tests.
    By default stdout and stderr are redirected to /dev/null and the
    python interpreter is used as test process.
    If 'wait' is True attemps to make sure the process is in a
    reasonably initialized state.
     N/A N/A cmd None N/A N/A pyline N/A wait N/A N/A pyline N/A open('%s', 'w');  TESTFN N/A pyline import time; time.sleep(3600); N/A cmd_ N/A PYTHON -c pyline N/A N/A cmd_ cmd N/A sproc N/A N/A subprocess Popen cmd_ stdout stdout stderr stderr stdin stdin N/A wait N/A N/A N/A cmd None N/A N/A stop_at N/A N/A N/A time time 3 N/A N/A N/A N/A time time stop_at N/A N/A N/A N/A N/A os path exists TESTFN N/A N/A N/A N/A N/A time sleep 0.001 N/A N/A N/A warn couldn't make sure test file was actually created N/A N/A N/A wait_for_pid N/A sproc pid N/A N/A N/A _subprocesses_started add N/A sproc pid N/A sproc N/A warn N/A N/A msg warntype N/A RuntimeWarning N/A N/A Raise a warning msg. N/A N/A N/A warnings warn msg warntype N/A sh N/A N/A cmdline stdout stderr N/A N/A subprocess PIPE N/A subprocess PIPE N/A N/A run cmd in a subprocess and return its output.
    raises RuntimeError on error.
     N/A p N/A N/A subprocess Popen cmdline shell True stdout stdout stderr stderr N/A N/A stdout stderr N/A N/A p communicate N/A N/A N/A p returncode 0 N/A N/A N/A RuntimeError stderr N/A stderr N/A N/A N/A warn stderr N/A PY3 N/A N/A stdout N/A str stdout N/A N/A sys stdout encoding N/A N/A N/A stdout strip N/A which N/A N/A program N/A N/A N/A Same as UNIX which command. Return None on command not found. is_exe N/A N/A fpath N/A N/A N/A N/A N/A N/A N/A os path isfile fpath N/A N/A os access fpath N/A os X_OK N/A N/A N/A fpath fname N/A N/A N/A os path split program N/A fpath N/A N/A N/A is_exe program N/A N/A program N/A N/A path N/A N/A N/A N/A os environ N/A PATH split N/A os pathsep N/A N/A exe_file N/A N/A N/A os path join path program N/A N/A is_exe exe_file N/A N/A exe_file N/A None N/A wait_for_pid N/A N/A pid timeout N/A 1 N/A N/A Wait for pid to show up in the process list then return.
    Used in the test suite to give time the sub process to initialize.
     N/A raise_at N/A N/A N/A time time timeout N/A 1 N/A N/A N/A pid N/A N/A psutil get_pid_list N/A N/A N/A N/A time sleep 0.01 N/A N/A N/A N/A time sleep 0.0001 N/A N/A N/A N/A time time raise_at N/A N/A N/A RuntimeError Timed out N/A reap_children N/A N/A search_all N/A False N/A N/A Kill any subprocess started by this test suite and ensure that
    no zombies stick around to hog resources and create problems when
    looking for refleaks.
     N/A pids _subprocesses_started N/A search_all N/A N/A this_process N/A N/A psutil Process N/A N/A os getpid N/A p N/A N/A this_process get_children recursive True N/A N/A N/A N/A pids add N/A p pid N/A pids N/A N/A pid N/A N/A pids pop N/A N/A N/A child N/A N/A psutil Process pid N/A N/A N/A child kill N/A N/A N/A N/A psutil NoSuchProcess N/A N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A warn N/A couldn't kill child process with pid %s pid N/A N/A N/A N/A child wait timeout 3 N/A check_ip_address N/A N/A addr family N/A N/A N/A Attempts to check IP address's validity. N/A N/A addr N/A N/A N/A N/A ip port addr N/A N/A isinstance port int port N/A N/A family N/A socket AF_INET N/A N/A ip N/A list N/A map int N/A N/A ip split . N/A N/A N/A len ip 4 ip N/A num ip N/A N/A N/A 0 num 255 ip N/A N/A 0 port 65535 port N/A safe_remove N/A N/A fname N/A N/A N/A N/A N/A N/A N/A os remove fname N/A N/A N/A OSError N/A N/A N/A call_until N/A N/A fun expr timeout N/A 1 N/A N/A Keep calling function for timeout secs and exit if eval()
    expression is True.
     N/A stop_at N/A N/A N/A time time timeout N/A N/A N/A N/A time time stop_at N/A N/A ret N/A fun N/A N/A eval expr N/A N/A ret N/A N/A N/A time sleep 0.001 N/A N/A RuntimeError N/A timed out (ret=%r) ret N/A skipIf N/A N/A condition reason warn N/A False N/A N/A Decorator which skip a test under if condition is satisfied.
    This is a substitute of unittest.skipIf which is available
    only in python 2.7 and 3.2.
    If 'reason' argument is provided this will be printed during
    tests execution.
    If 'warn' is provided a RuntimeWarning will be shown when all
    tests are run.
     outer N/A N/A fun N/A args kwargs N/A inner N/A N/A self N/A N/A N/A condition N/A N/A N/A N/A N/A sys stdout write skipped- N/A N/A N/A N/A sys stdout flush N/A warn N/A N/A objname N/A %s.%s N/A N/A N/A self __class__ __name__ N/A fun __name__ N/A msg N/A %s was skipped objname N/A reason N/A N/A msg N/A ; reason:  N/A repr reason N/A N/A N/A atexit register warn msg N/A N/A N/A N/A fun self args kwargs N/A N/A inner N/A N/A outer N/A skipUnless N/A N/A condition reason warn N/A False N/A N/A Contrary of skipIf. N/A N/A condition N/A N/A N/A skipIf True reason warn N/A N/A skipIf False N/A ignore_access_denied N/A N/A fun N/A N/A N/A Decorator to Ignore AccessDenied exceptions. outer N/A N/A fun N/A args kwargs N/A inner N/A N/A self N/A N/A N/A N/A N/A N/A fun self args kwargs N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A N/A inner N/A N/A outer N/A supports_ipv6 N/A N/A N/A N/A N/A Return True if IPv6 is supported on this platform. N/A N/A N/A N/A socket has_ipv6 N/A N/A hasattr socket AF_INET6 N/A N/A False N/A sock None N/A N/A N/A N/A N/A sock N/A N/A socket socket N/A socket AF_INET6 N/A socket SOCK_STREAM N/A N/A N/A sock bind N/A ::1 0 N/A N/A N/A N/A N/A socket error N/A socket gaierror N/A N/A False N/A N/A True N/A N/A N/A sock None N/A N/A N/A N/A sock close N/A ThreadTask N/A N/A threading Thread N/A N/A A thread object used for running process thread tests. __init__ N/A N/A self N/A N/A N/A N/A N/A N/A threading Thread __init__ self N/A N/A self _running False N/A N/A self _interval None N/A N/A self _flag N/A N/A threading Event N/A __repr__ N/A N/A self N/A N/A N/A name N/A N/A self __class__ __name__ N/A N/A <%s running=%s at %#x> N/A name N/A self _running N/A id self N/A start N/A N/A self interval N/A 0.001 N/A N/A Start thread and keep it running until an explicit
        stop() request. Polls for shutdown every 'timeout' seconds.
         N/A N/A self _running N/A N/A N/A ValueError already started N/A N/A self _interval interval N/A N/A N/A N/A threading Thread start self N/A N/A N/A N/A self _flag wait N/A run N/A N/A self N/A N/A N/A N/A self _running True N/A N/A N/A N/A self _flag set N/A N/A self _running N/A N/A N/A N/A time sleep N/A self _interval N/A stop N/A N/A self N/A N/A N/A Stop thread execution and and waits until it is stopped. N/A N/A N/A self _running N/A N/A N/A ValueError already stopped N/A N/A self _running False N/A N/A N/A self join N/A N/A TestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A safe_remove TESTFN N/A tearDown N/A N/A self N/A N/A N/A N/A reap_children N/A N/A N/A N/A hasattr N/A unittest TestCase assertIn N/A assertIn N/A N/A self member container msg N/A None N/A N/A N/A member container N/A N/A N/A N/A self fail N/A msg N/A %s not found in %s N/A N/A repr member N/A repr container N/A assert_eq_w_tol N/A N/A self first second tolerance N/A N/A N/A difference N/A abs N/A first second N/A N/A difference tolerance N/A N/A N/A msg N/A %r != %r within %r delta (%r difference) N/A first second tolerance difference N/A N/A AssertionError msg N/A test_process_iter N/A N/A self N/A N/A N/A N/A N/A N/A os getpid N/A N/A x pid N/A x N/A N/A psutil process_iter N/A sproc N/A get_test_subprocess N/A N/A N/A sproc pid N/A N/A x pid N/A x N/A N/A psutil process_iter N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A p kill N/A N/A N/A p wait N/A N/A N/A sproc pid N/A N/A x pid N/A x N/A N/A psutil process_iter N/A test_TOTAL_PHYMEM N/A N/A self N/A N/A N/A x N/A psutil TOTAL_PHYMEM N/A N/A isinstance x N/A int long N/A N/A x 0 N/A N/A N/A self assertEqual x N/A N/A N/A psutil virtual_memory total N/A test_BOOT_TIME N/A N/A self N/A N/A N/A x N/A psutil BOOT_TIME N/A N/A isinstance x float N/A N/A x 0 N/A N/A x N/A N/A time time x N/A test_NUM_CPUS N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A psutil NUM_CPUS N/A len N/A N/A psutil cpu_times percpu True N/A N/A N/A psutil NUM_CPUS 1 N/A psutil NUM_CPUS N/A test_PAGESIZE N/A N/A self N/A N/A N/A resource N/A N/A N/A self assertEqual N/A N/A os sysconf SC_PAGE_SIZE N/A N/A resource getpagesize N/A N/A skipUnless POSIX test_deprecated_apis N/A N/A self N/A N/A N/A N/A N/A warnings filterwarnings error N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A N/A N/A self assertRaises DeprecationWarning N/A psutil virtmem_usage N/A N/A N/A self assertRaises DeprecationWarning N/A psutil used_phymem N/A N/A N/A self assertRaises DeprecationWarning N/A psutil avail_phymem N/A N/A N/A self assertRaises DeprecationWarning N/A psutil total_virtmem N/A N/A N/A self assertRaises DeprecationWarning N/A psutil used_virtmem N/A N/A N/A self assertRaises DeprecationWarning N/A psutil avail_virtmem N/A N/A N/A self assertRaises DeprecationWarning N/A psutil phymem_usage N/A N/A N/A self assertRaises DeprecationWarning N/A psutil get_process_list N/A N/A N/A self assertRaises DeprecationWarning N/A psutil get_process_list N/A LINUX N/A N/A N/A N/A self assertRaises DeprecationWarning N/A psutil phymem_buffers N/A N/A N/A self assertRaises DeprecationWarning N/A psutil cached_phymem N/A N/A N/A N/A p nice N/A N/A N/A DeprecationWarning N/A N/A N/A N/A N/A N/A self fail p.nice didn't raise DeprecationWarning N/A N/A N/A N/A warnings resetwarnings N/A test_deprecated_apis_retval N/A N/A self N/A N/A N/A N/A N/A warnings filterwarnings ignore N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A N/A N/A self assertEqual N/A N/A psutil total_virtmem N/A N/A N/A psutil swap_memory total N/A N/A N/A self assertEqual N/A N/A psutil get_process_list N/A list N/A N/A psutil process_iter N/A N/A N/A self assertEqual N/A p nice N/A N/A p get_nice N/A N/A N/A N/A warnings resetwarnings N/A test_virtual_memory N/A N/A self N/A N/A N/A mem N/A N/A psutil virtual_memory N/A N/A N/A mem total 0 mem N/A N/A N/A mem available 0 mem N/A N/A 0 N/A mem percent 100 mem N/A N/A N/A mem used 0 mem N/A N/A N/A mem free 0 mem N/A name N/A mem _fields N/A N/A N/A name total N/A N/A value N/A getattr mem name N/A N/A N/A value 0 N/A N/A N/A N/A self fail N/A %r < 0 (%s) N/A name value N/A N/A value N/A mem total N/A N/A N/A N/A self fail N/A %r > total (total=%s, %s=%s) N/A name N/A mem total name value N/A test_swap_memory N/A N/A self N/A N/A N/A mem N/A N/A psutil swap_memory N/A N/A N/A mem total 0 mem N/A N/A N/A mem used 0 mem N/A N/A N/A mem free 0 mem N/A N/A 0 N/A mem percent 100 mem N/A N/A N/A mem sin 0 mem N/A N/A N/A mem sout 0 mem N/A test_pid_exists N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess wait True N/A N/A N/A psutil pid_exists N/A sproc pid N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A p kill N/A N/A N/A p wait N/A N/A N/A self assertFalse N/A N/A psutil pid_exists N/A sproc pid N/A N/A N/A self assertFalse N/A N/A psutil pid_exists -1 N/A test_pid_exists_2 N/A N/A self N/A N/A N/A N/A reap_children N/A pids N/A N/A psutil get_pid_list N/A pid pids N/A N/A N/A N/A N/A N/A psutil pid_exists pid N/A N/A N/A AssertionError N/A N/A N/A N/A time sleep 0.1 N/A N/A pid N/A N/A psutil get_pid_list N/A N/A N/A N/A self fail pid N/A pids N/A range N/A N/A max pids 5000 N/A N/A max pids 6000 N/A pid pids N/A N/A N/A N/A self assertFalse N/A N/A psutil pid_exists pid N/A test_get_pid_list N/A N/A self N/A N/A N/A plist N/A N/A x pid N/A x N/A N/A psutil process_iter N/A pidlist N/A N/A psutil get_pid_list N/A N/A N/A self assertEqual N/A N/A plist sort N/A N/A pidlist sort N/A N/A N/A self assertEqual N/A len pidlist N/A len N/A set pidlist N/A test_test N/A N/A self N/A N/A N/A stdout N/A sys stdout N/A N/A sys stdout DEVNULL N/A N/A N/A N/A N/A psutil test N/A N/A N/A sys stdout stdout N/A test_sys_cpu_times N/A N/A self N/A N/A N/A total 0 N/A times N/A N/A psutil cpu_times N/A N/A sum times N/A cp_time times N/A N/A N/A isinstance cp_time float N/A N/A cp_time 0.0 cp_time N/A total cp_time N/A N/A N/A self assertEqual total N/A sum times N/A N/A str times N/A test_sys_cpu_times2 N/A N/A self N/A N/A N/A t1 N/A sum N/A N/A psutil cpu_times N/A N/A N/A time sleep 0.1 N/A t2 N/A sum N/A N/A psutil cpu_times N/A difference N/A t2 t1 N/A N/A N/A difference 0.05 N/A N/A N/A N/A self fail N/A difference %s difference N/A test_sys_per_cpu_times N/A N/A self N/A N/A N/A times N/A N/A psutil cpu_times percpu True N/A N/A total 0 N/A N/A sum times N/A cp_time times N/A N/A N/A isinstance cp_time float N/A N/A cp_time 0.0 cp_time N/A total cp_time N/A N/A N/A self assertEqual total N/A sum times N/A N/A str times N/A test_sys_per_cpu_times2 N/A N/A self N/A N/A N/A tot1 N/A N/A psutil cpu_times percpu True N/A stop_at N/A N/A N/A time time 0.1 N/A 1 N/A N/A N/A N/A N/A time time stop_at N/A N/A N/A tot2 N/A N/A psutil cpu_times percpu True N/A N/A t1 t2 N/A zip tot1 tot2 N/A N/A N/A t1 t2 N/A N/A sum t1 N/A sum t2 N/A difference N/A t2 t1 N/A N/A difference 0.05 N/A N/A N/A N/A N/A self fail N/A test_sys_cpu_percent N/A N/A self N/A N/A N/A N/A N/A psutil cpu_percent interval 0.001 N/A N/A N/A psutil cpu_percent interval 0.001 N/A x N/A range 1000 N/A N/A percent N/A N/A psutil cpu_percent interval None N/A N/A isinstance percent float N/A N/A percent 0.0 percent N/A N/A percent 100.0 percent N/A test_sys_per_cpu_percent N/A N/A self N/A N/A N/A N/A N/A psutil cpu_percent interval 0.001 percpu True N/A N/A N/A psutil cpu_percent interval 0.001 percpu True N/A x N/A range 1000 N/A N/A percents N/A N/A psutil cpu_percent interval None percpu True N/A percent percents N/A N/A N/A isinstance percent float N/A N/A percent 0.0 percent N/A N/A percent 100.0 percent N/A test_disk_usage N/A N/A self N/A N/A N/A usage N/A N/A psutil disk_usage N/A N/A os getcwd N/A N/A N/A usage total 0 usage N/A N/A N/A usage used 0 usage N/A N/A N/A usage free 0 usage N/A N/A N/A usage total N/A usage used usage N/A N/A N/A usage total N/A usage free usage N/A N/A 0 N/A usage percent 100 N/A usage percent N/A fname N/A N/A tempfile mktemp N/A N/A N/A N/A N/A psutil disk_usage fname N/A N/A N/A OSError N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A N/A err args N/A 0 N/A errno ENOENT N/A N/A N/A N/A N/A N/A self fail OSError not raised N/A test_disk_partitions N/A N/A self N/A N/A N/A disk N/A N/A psutil disk_partitions all False N/A N/A N/A N/A N/A os path exists N/A disk device disk N/A N/A N/A N/A os path isdir N/A disk mountpoint disk N/A N/A disk fstype disk N/A N/A isinstance N/A disk opts str N/A disk N/A N/A psutil disk_partitions all True N/A N/A N/A WINDOWS N/A N/A N/A N/A N/A N/A os stat N/A disk mountpoint N/A N/A N/A OSError N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A err errno N/A N/A errno EPERM N/A errno EACCES N/A N/A N/A N/A N/A N/A N/A os path isdir N/A disk mountpoint N/A disk mountpoint N/A N/A isinstance N/A disk fstype str N/A N/A isinstance N/A disk opts str find_mount_point N/A N/A path N/A N/A N/A path N/A N/A N/A os path abspath path N/A N/A N/A N/A N/A os path ismount path N/A N/A path N/A N/A N/A os path dirname path N/A path N/A N/A mount N/A find_mount_point __file__ N/A mounts N/A N/A x mountpoint N/A x N/A N/A psutil disk_partitions all True N/A N/A N/A self assertIn mount mounts N/A N/A N/A psutil disk_usage mount N/A test_network_io_counters N/A N/A self N/A N/A check_ntuple N/A N/A nt N/A N/A N/A N/A N/A self assertEqual N/A nt N/A 0 N/A nt bytes_sent N/A N/A N/A self assertEqual N/A nt N/A 1 N/A nt bytes_recv N/A N/A N/A self assertEqual N/A nt N/A 2 N/A nt packets_sent N/A N/A N/A self assertEqual N/A nt N/A 3 N/A nt packets_recv N/A N/A N/A self assertEqual N/A nt N/A 4 N/A nt errin N/A N/A N/A self assertEqual N/A nt N/A 5 N/A nt errout N/A N/A N/A self assertEqual N/A nt N/A 6 N/A nt dropin N/A N/A N/A self assertEqual N/A nt N/A 7 N/A nt dropout N/A N/A N/A nt bytes_sent 0 nt N/A N/A N/A nt bytes_recv 0 nt N/A N/A N/A nt packets_sent 0 nt N/A N/A N/A nt packets_recv 0 nt N/A N/A N/A nt errin 0 nt N/A N/A N/A nt errout 0 nt N/A N/A N/A nt dropin 0 nt N/A N/A N/A nt dropout 0 nt N/A N/A ret N/A N/A psutil network_io_counters pernic False N/A N/A check_ntuple ret N/A ret N/A N/A psutil network_io_counters pernic True N/A N/A ret N/A N/A key ret N/A N/A key N/A N/A check_ntuple N/A ret N/A key N/A test_disk_io_counters N/A N/A self N/A N/A check_ntuple N/A N/A nt N/A N/A N/A N/A N/A self assertEqual N/A nt N/A 0 N/A nt read_count N/A N/A N/A self assertEqual N/A nt N/A 1 N/A nt write_count N/A N/A N/A self assertEqual N/A nt N/A 2 N/A nt read_bytes N/A N/A N/A self assertEqual N/A nt N/A 3 N/A nt write_bytes N/A N/A N/A self assertEqual N/A nt N/A 4 N/A nt read_time N/A N/A N/A self assertEqual N/A nt N/A 5 N/A nt write_time N/A N/A N/A nt read_count 0 nt N/A N/A N/A nt write_count 0 nt N/A N/A N/A nt read_bytes 0 nt N/A N/A N/A nt write_bytes 0 nt N/A N/A N/A nt read_time 0 nt N/A N/A N/A nt write_time 0 nt N/A N/A ret N/A N/A psutil disk_io_counters perdisk False N/A N/A check_ntuple ret N/A ret N/A N/A psutil disk_io_counters perdisk True N/A key ret N/A N/A key key N/A N/A check_ntuple N/A ret N/A key N/A test_get_users N/A N/A self N/A N/A N/A users N/A N/A psutil get_users N/A users N/A user users N/A N/A N/A user name user N/A N/A user terminal N/A N/A user host N/A N/A N/A user started 0.0 user N/A N/A N/A N/A datetime datetime fromtimestamp N/A user started N/A test_kill N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess wait True N/A test_pid N/A sproc pid N/A p N/A N/A psutil Process test_pid N/A name N/A p name N/A N/A N/A p kill N/A N/A N/A p wait N/A N/A N/A self assertFalse N/A N/A N/A psutil pid_exists test_pid N/A name PYTHON N/A test_terminate N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess wait True N/A test_pid N/A sproc pid N/A p N/A N/A psutil Process test_pid N/A name N/A p name N/A N/A N/A p terminate N/A N/A N/A p wait N/A N/A N/A self assertFalse N/A N/A N/A psutil pid_exists test_pid N/A name PYTHON N/A test_send_signal N/A N/A self N/A N/A N/A POSIX N/A N/A sig N/A signal SIGKILL N/A N/A sig N/A signal SIGTERM N/A sproc N/A get_test_subprocess N/A test_pid N/A sproc pid N/A p N/A N/A psutil Process test_pid N/A name N/A p name N/A N/A N/A p send_signal sig N/A N/A N/A p wait N/A N/A N/A self assertFalse N/A N/A N/A psutil pid_exists test_pid N/A name PYTHON N/A test_wait N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A p kill N/A code N/A N/A p wait N/A N/A N/A os name posix N/A N/A N/A N/A self assertEqual code N/A signal SIGKILL N/A N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertFalse N/A N/A p is_running N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A p terminate N/A code N/A N/A p wait N/A N/A N/A os name posix N/A N/A N/A N/A self assertEqual code N/A signal SIGTERM N/A N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertFalse N/A N/A p is_running N/A code import time, sys; time.sleep(0.01); sys.exit(5); N/A sproc N/A get_test_subprocess N/A PYTHON -c code N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A self assertEqual N/A N/A p wait 5 N/A N/A N/A self assertFalse N/A N/A p is_running N/A sproc N/A get_test_subprocess N/A PYTHON -c code N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A self assertEqual N/A N/A p wait 5 N/A N/A N/A self assertIn N/A N/A p wait N/A 5 None N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A N/A p name N/A N/A N/A self assertRaises N/A psutil TimeoutExpired N/A p wait 0.01 N/A N/A N/A self assertRaises ValueError N/A p wait -1 N/A test_wait_non_children N/A N/A self N/A N/A N/A code import sys; N/A code from subprocess import Popen, PIPE; N/A code N/A cmd = ['%s', '-c', 'import time; time.sleep(10)']; PYTHON N/A code sp = Popen(cmd, stdout=PIPE); N/A code sys.stdout.write(str(sp.pid)); N/A sproc N/A get_test_subprocess N/A PYTHON -c code stdout N/A subprocess PIPE N/A grandson_pid N/A int N/A N/A N/A sproc stdout read N/A grandson_proc N/A N/A psutil Process grandson_pid N/A N/A N/A N/A N/A self assertRaises N/A psutil TimeoutExpired N/A grandson_proc wait 0.01 N/A N/A N/A grandson_proc kill N/A ret N/A N/A grandson_proc wait N/A N/A N/A self assertEqual ret None N/A N/A N/A N/A grandson_proc is_running N/A N/A N/A N/A grandson_proc kill N/A N/A N/A grandson_proc wait N/A N/A skipUnless POSIX test_wait_timeout_0 N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A self assertRaises N/A psutil TimeoutExpired N/A p wait 0 N/A N/A N/A p kill N/A stop_at N/A N/A N/A time time 2 N/A 1 N/A N/A N/A N/A code N/A N/A p wait 0 N/A N/A N/A N/A psutil TimeoutExpired N/A N/A N/A N/A N/A time time stop_at N/A N/A N/A N/A N/A N/A N/A os name posix N/A N/A N/A N/A self assertEqual code N/A signal SIGKILL N/A N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertFalse N/A N/A p is_running N/A test_cpu_percent N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A p get_cpu_percent interval 0.001 N/A N/A N/A p get_cpu_percent interval 0.001 N/A x N/A range 100 N/A N/A percent N/A N/A p get_cpu_percent interval None N/A N/A isinstance percent float N/A N/A percent 0.0 percent N/A N/A N/A os name posix N/A N/A N/A percent 100.0 percent N/A N/A N/A percent 0.0 percent N/A test_cpu_times N/A N/A self N/A N/A N/A times N/A N/A N/A N/A psutil Process N/A N/A os getpid get_cpu_times N/A N/A N/A N/A times user 0.0 N/A N/A times system 0.0 times N/A N/A N/A time strftime %H:%M:%S N/A N/A time localtime N/A times user N/A N/A N/A time strftime %H:%M:%S N/A N/A time localtime N/A times system N/A test_cpu_times2 N/A N/A self N/A N/A N/A N/A user_time kernel_time N/A N/A N/A N/A psutil Process N/A N/A os getpid get_cpu_times N/A N/A utime ktime N/A N/A N/A os times N/A 2 N/A N/A N/A N/A max N/A user_time utime N/A min N/A user_time utime 0.1 N/A N/A N/A N/A self fail N/A expected: %s, found: %s N/A utime user_time N/A N/A N/A N/A max N/A kernel_time ktime N/A min N/A kernel_time ktime 0.1 N/A N/A N/A N/A self fail N/A expected: %s, found: %s N/A ktime kernel_time N/A N/A skipUnless N/A N/A N/A sys version_info N/A 2 6 1 N/A OSX test_create_time N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess wait True N/A now N/A N/A time time N/A p N/A N/A psutil Process N/A sproc pid N/A create_time N/A p create_time N/A difference N/A abs N/A create_time now N/A N/A difference 2 N/A N/A N/A N/A self fail N/A expected: %s, found: %s, difference: %s N/A now create_time difference N/A N/A N/A time strftime %Y %m %d %H:%M:%S N/A N/A time localtime N/A p create_time N/A test_terminal N/A N/A self N/A N/A N/A tty N/A sh tty N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A self assertEqual N/A p terminal tty N/A N/A skipIf WINDOWS test_get_io_counters N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A io1 N/A N/A p get_io_counters N/A f N/A open PYTHON rb N/A N/A N/A f read N/A N/A N/A f close N/A io2 N/A N/A p get_io_counters N/A N/A BSD N/A N/A N/A N/A io2 read_count N/A io1 read_count N/A io1 io2 N/A N/A N/A self assertEqual N/A io2 write_count N/A io1 write_count N/A N/A N/A io2 read_bytes N/A io1 read_bytes N/A io1 io2 N/A N/A N/A io2 write_bytes N/A io1 write_bytes N/A io1 io2 N/A io1 N/A N/A p get_io_counters N/A f N/A N/A tempfile TemporaryFile N/A PY3 N/A N/A N/A N/A f write N/A bytes N/A x 1000000 ascii N/A N/A N/A N/A f write N/A x 1000000 N/A N/A N/A f close N/A io2 N/A N/A p get_io_counters N/A N/A N/A io2 write_count N/A io1 write_count N/A io1 io2 N/A N/A N/A io2 write_bytes N/A io1 write_bytes N/A io1 io2 N/A N/A N/A io2 read_count N/A io1 read_count N/A io1 io2 N/A N/A N/A io2 read_bytes N/A io1 read_bytes N/A io1 io2 N/A N/A skipIf OSX warn False test_get_set_ionice N/A N/A self N/A N/A psutil IOPRIO_CLASS_NONE IOPRIO_CLASS_RT IOPRIO_CLASS_BE IOPRIO_CLASS_IDLE N/A N/A N/A self assertEqual IOPRIO_CLASS_NONE 0 N/A N/A N/A self assertEqual IOPRIO_CLASS_RT 1 N/A N/A N/A self assertEqual IOPRIO_CLASS_BE 2 N/A N/A N/A self assertEqual IOPRIO_CLASS_IDLE 3 N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A N/A N/A p set_ionice 2 N/A N/A ioclass value N/A N/A p get_ionice N/A N/A N/A self assertEqual ioclass 2 N/A N/A N/A self assertEqual value 4 N/A N/A N/A p set_ionice 3 N/A N/A ioclass value N/A N/A p get_ionice N/A N/A N/A self assertEqual ioclass 3 N/A N/A N/A self assertEqual value 0 N/A N/A N/A p set_ionice 2 0 N/A N/A ioclass value N/A N/A p get_ionice N/A N/A N/A self assertEqual ioclass 2 N/A N/A N/A self assertEqual value 0 N/A N/A N/A p set_ionice 2 7 N/A N/A ioclass value N/A N/A p get_ionice N/A N/A N/A self assertEqual ioclass 2 N/A N/A N/A self assertEqual value 7 N/A N/A N/A self assertRaises ValueError N/A p set_ionice 2 10 N/A N/A N/A N/A p set_ionice IOPRIO_CLASS_NONE N/A N/A skipUnless LINUX test_get_num_threads N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A step1 N/A N/A p get_num_threads N/A thread N/A ThreadTask N/A N/A N/A thread start N/A N/A N/A step2 N/A N/A p get_num_threads N/A N/A N/A self assertEqual step2 N/A step1 1 N/A N/A N/A thread stop N/A N/A N/A thread _running N/A N/A N/A N/A thread stop N/A test_get_num_handles N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A N/A p get_num_handles 0 N/A N/A skipUnless WINDOWS test_get_threads N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A step1 N/A N/A p get_threads N/A thread N/A ThreadTask N/A N/A N/A thread start N/A N/A N/A step2 N/A N/A p get_threads N/A N/A N/A self assertEqual N/A len step2 N/A N/A len step1 1 N/A LINUX N/A N/A N/A N/A self assertEqual N/A N/A step2 N/A 0 id N/A N/A os getpid N/A athread N/A step2 N/A 0 N/A N/A N/A self assertEqual N/A athread id N/A athread N/A 0 N/A N/A N/A self assertEqual N/A athread user_time N/A athread N/A 1 N/A N/A N/A self assertEqual N/A athread system_time N/A athread N/A 2 N/A N/A N/A thread stop N/A N/A N/A thread _running N/A N/A N/A N/A thread stop N/A test_get_memory_info N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A rss1 vms1 N/A N/A p get_memory_info N/A percent1 N/A N/A p get_memory_percent N/A N/A rss1 0 N/A N/A vms1 0 N/A memarr N/A N/A None 1500000 N/A N/A rss2 vms2 N/A N/A p get_memory_info N/A percent2 N/A N/A p get_memory_percent N/A N/A rss2 rss1 N/A N/A vms2 vms1 N/A N/A percent2 percent1 N/A memarr N/A test_get_memory_maps N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A maps N/A N/A p get_memory_maps N/A paths N/A x N/A x maps N/A N/A N/A self assertEqual N/A len paths N/A len N/A set paths N/A ext_maps N/A N/A p get_memory_maps grouped False N/A nt maps N/A N/A N/A N/A N/A N/A nt path startswith [ N/A N/A N/A N/A N/A os path isabs N/A nt path N/A nt path N/A POSIX N/A N/A N/A N/A N/A os path exists N/A nt path N/A nt path N/A N/A N/A 64 N/A N/A N/A os path basename N/A nt path N/A N/A N/A N/A N/A os path exists N/A nt path N/A nt path N/A nt ext_maps N/A N/A fname N/A nt _fields N/A N/A value N/A getattr nt fname N/A N/A fname path N/A N/A N/A N/A N/A fname N/A addr perms N/A N/A value value N/A N/A N/A isinstance value N/A int long N/A N/A value 0 value N/A test_get_memory_percent N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A N/A p get_memory_percent 0.0 N/A test_pid N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess N/A N/A N/A self assertEqual N/A N/A N/A psutil Process N/A sproc pid pid N/A sproc pid N/A test_is_running N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess wait True N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A p is_running N/A N/A N/A p is_running N/A N/A N/A p kill N/A N/A N/A p wait N/A N/A N/A N/A p is_running N/A N/A N/A N/A p is_running N/A test_exe N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess wait True N/A exe N/A N/A N/A psutil Process N/A sproc pid exe N/A N/A N/A N/A N/A self assertEqual exe PYTHON N/A N/A N/A AssertionError N/A N/A ver N/A %s.%s N/A N/A N/A sys version_info N/A 0 N/A N/A sys version_info N/A 1 N/A N/A N/A self assertEqual N/A N/A exe replace ver N/A N/A PYTHON replace ver N/A test_cmdline N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess N/A PYTHON -E wait True N/A N/A N/A self assertEqual N/A N/A N/A psutil Process N/A sproc pid cmdline N/A PYTHON -E N/A test_name N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess PYTHON wait True N/A pyexe N/A N/A N/A N/A N/A os path basename N/A N/A N/A os path realpath N/A sys executable lower N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A psutil Process N/A sproc pid name lower pyexe N/A N/A N/A N/A os name posix N/A test_uids N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A real effective saved N/A p uids N/A N/A N/A self assertEqual real N/A N/A os getuid N/A N/A N/A self assertEqual effective N/A N/A os geteuid N/A N/A hasattr os getresuid N/A N/A N/A N/A self assertEqual saved N/A N/A N/A os getresuid N/A 2 N/A test_gids N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A real effective saved N/A p gids N/A N/A N/A self assertEqual real N/A N/A os getgid N/A N/A N/A self assertEqual effective N/A N/A os getegid N/A N/A hasattr os getresuid N/A N/A N/A N/A self assertEqual saved N/A N/A N/A os getresgid N/A 2 N/A test_nice N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A self assertRaises TypeError N/A p set_nice str N/A N/A N/A N/A N/A first_nice N/A N/A p get_nice N/A N/A N/A p set_nice 1 N/A N/A N/A self assertEqual N/A N/A p get_nice 1 N/A N/A OSX N/A N/A N/A N/A p set_nice 0 N/A N/A N/A self assertEqual N/A N/A p get_nice 0 N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A N/A N/A N/A N/A N/A p set_nice first_nice N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A N/A N/A N/A os name nt N/A test_nice N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A self assertRaises TypeError N/A p set_nice str N/A N/A N/A N/A N/A self assertEqual N/A N/A p get_nice N/A psutil NORMAL_PRIORITY_CLASS N/A N/A N/A p set_nice N/A psutil HIGH_PRIORITY_CLASS N/A N/A N/A self assertEqual N/A N/A p get_nice N/A psutil HIGH_PRIORITY_CLASS N/A N/A N/A p set_nice N/A psutil NORMAL_PRIORITY_CLASS N/A N/A N/A self assertEqual N/A N/A p get_nice N/A psutil NORMAL_PRIORITY_CLASS N/A N/A N/A N/A p set_nice N/A psutil NORMAL_PRIORITY_CLASS N/A test_status N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A self assertEqual N/A p status N/A psutil STATUS_RUNNING N/A N/A N/A self assertEqual N/A str N/A p status running N/A test_status_constants N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A psutil STATUS_RUNNING 0 N/A N/A N/A self assertTrue N/A N/A psutil STATUS_RUNNING N/A long 0 N/A N/A N/A self assertTrue N/A N/A psutil STATUS_RUNNING running N/A N/A N/A self assertFalse N/A N/A psutil STATUS_RUNNING 1 N/A N/A N/A self assertFalse N/A N/A psutil STATUS_RUNNING sleeping N/A N/A N/A self assertFalse N/A N/A psutil STATUS_RUNNING 0 N/A N/A N/A self assertFalse N/A N/A psutil STATUS_RUNNING running N/A N/A N/A self assertTrue N/A N/A psutil STATUS_RUNNING 1 N/A N/A N/A self assertTrue N/A N/A psutil STATUS_RUNNING sleeping N/A test_username N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A POSIX N/A N/A pwd N/A N/A N/A self assertEqual N/A p username N/A N/A N/A pwd getpwuid N/A N/A os getuid pw_name N/A N/A WINDOWS N/A N/A expected_username N/A N/A os environ N/A USERNAME N/A expected_domain N/A N/A os environ N/A USERDOMAIN N/A N/A domain username N/A N/A N/A p username split \ N/A N/A N/A self assertEqual domain expected_domain N/A N/A N/A self assertEqual username expected_username N/A N/A N/A p username N/A test_getcwd N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess wait True N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A self assertEqual N/A N/A p getcwd N/A N/A os getcwd N/A N/A skipIf N/A N/A hasattr N/A psutil Process getcwd test_getcwd_2 N/A N/A self N/A N/A N/A cmd N/A PYTHON -c import os, time; os.chdir('..'); time.sleep(10) N/A sproc N/A get_test_subprocess cmd wait True N/A p N/A N/A psutil Process N/A sproc pid N/A N/A call_until N/A p getcwd ret == os.path.dirname(os.getcwd()) timeout 1 N/A N/A skipIf N/A N/A hasattr N/A psutil Process getcwd test_cpu_affinity N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A initial N/A N/A p get_cpu_affinity N/A all_cpus N/A list N/A range N/A len N/A N/A psutil cpu_percent percpu True N/A n all_cpus N/A N/A N/A N/A p set_cpu_affinity N/A n N/A N/A N/A self assertEqual N/A N/A p get_cpu_affinity N/A n N/A N/A N/A p set_cpu_affinity all_cpus N/A N/A N/A self assertEqual N/A N/A p get_cpu_affinity all_cpus N/A N/A N/A p set_cpu_affinity initial N/A invalid_cpu N/A N/A N/A len N/A N/A psutil cpu_times percpu True 10 N/A N/A N/A self assertRaises ValueError N/A p set_cpu_affinity invalid_cpu N/A N/A skipIf N/A N/A hasattr N/A psutil Process get_cpu_affinity test_get_open_files N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A files N/A N/A p get_open_files N/A N/A N/A self assertFalse N/A TESTFN files N/A f N/A open TESTFN w N/A N/A call_until N/A p get_open_files N/A len(ret) != %i N/A len files N/A filenames N/A N/A x path N/A x N/A N/A p get_open_files N/A N/A N/A self assertIn TESTFN filenames N/A N/A N/A f close N/A file filenames N/A N/A N/A N/A N/A os path isfile file file N/A cmdline N/A import time; f = open(r'%s', 'r'); time.sleep(100); TESTFN N/A sproc N/A get_test_subprocess N/A PYTHON -c cmdline wait True N/A p N/A N/A psutil Process N/A sproc pid N/A x N/A range 100 N/A N/A filenames N/A N/A x path N/A x N/A N/A p get_open_files N/A N/A TESTFN filenames N/A N/A N/A N/A N/A time sleep 0.01 N/A N/A N/A N/A self assertIn TESTFN filenames N/A file filenames N/A N/A N/A N/A N/A os path isfile file file N/A test_get_open_files2 N/A N/A self N/A N/A N/A fileobj N/A open TESTFN w N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A path fd N/A N/A p get_open_files N/A N/A N/A N/A path N/A fileobj name N/A fd N/A N/A fileobj fileno N/A N/A N/A N/A N/A N/A self fail N/A no file found; files=%s N/A repr N/A N/A p get_open_files N/A N/A N/A self assertEqual path N/A fileobj name N/A WINDOWS N/A N/A N/A N/A self assertEqual fd -1 N/A N/A N/A N/A self assertEqual fd N/A N/A fileobj fileno N/A ntuple N/A N/A N/A p get_open_files N/A 0 N/A N/A N/A self assertEqual N/A ntuple N/A 0 N/A ntuple path N/A N/A N/A self assertEqual N/A ntuple N/A 1 N/A ntuple fd N/A N/A N/A fileobj close N/A N/A N/A self assertTrue N/A N/A fileobj name N/A N/A p get_open_files N/A test_get_connections N/A N/A self N/A N/A N/A arg import socket, time;s = socket.socket();s.bind(('127.0.0.1', 0));s.listen(1);conn, addr = s.accept();time.sleep(100); N/A sproc N/A get_test_subprocess N/A PYTHON -c arg N/A p N/A N/A psutil Process N/A sproc pid N/A x N/A range 100 N/A N/A cons N/A N/A p get_connections N/A cons N/A N/A N/A N/A N/A time sleep 0.01 N/A N/A N/A self assertEqual N/A len cons 1 N/A con N/A cons N/A 0 N/A N/A N/A self assertEqual N/A con family N/A socket AF_INET N/A N/A N/A self assertEqual N/A con type N/A socket SOCK_STREAM N/A N/A N/A self assertEqual N/A con status LISTEN N/A N/A ip port N/A con local_address N/A N/A N/A self assertEqual ip 127.0.0.1 N/A N/A N/A self assertEqual N/A con remote_address N/A N/A WINDOWS N/A N/A N/A N/A self assertEqual N/A con fd -1 N/A N/A N/A N/A con fd 0 con N/A N/A N/A self assertEqual N/A con N/A 0 N/A con fd N/A N/A N/A self assertEqual N/A con N/A 1 N/A con family N/A N/A N/A self assertEqual N/A con N/A 2 N/A con type N/A N/A N/A self assertEqual N/A con N/A 3 N/A con local_address N/A N/A N/A self assertEqual N/A con N/A 4 N/A con remote_address N/A N/A N/A self assertEqual N/A con N/A 5 N/A con status N/A N/A N/A self assertRaises ValueError N/A p get_connections foo N/A test_get_connections_ipv6 N/A N/A self N/A N/A N/A s N/A N/A socket socket N/A socket AF_INET6 N/A socket SOCK_STREAM N/A N/A N/A s bind N/A ::1 0 N/A N/A N/A s listen 1 N/A cons N/A N/A N/A N/A psutil Process N/A N/A os getpid get_connections N/A N/A N/A s close N/A N/A N/A self assertEqual N/A len cons 1 N/A N/A N/A self assertEqual N/A N/A N/A cons N/A 0 local_address N/A 0 ::1 N/A N/A skipUnless N/A supports_ipv6 test_get_connections_unix N/A N/A self N/A N/A N/A N/A safe_remove TESTFN N/A sock N/A N/A socket socket N/A socket AF_UNIX N/A socket SOCK_STREAM N/A N/A N/A sock bind TESTFN N/A conn N/A N/A N/A N/A N/A psutil Process N/A N/A os getpid get_connections kind unix N/A 0 N/A N/A N/A self assertEqual N/A conn fd N/A N/A sock fileno N/A N/A N/A self assertEqual N/A conn family N/A socket AF_UNIX N/A N/A N/A self assertEqual N/A conn type N/A socket SOCK_STREAM N/A N/A N/A self assertEqual N/A conn local_address TESTFN N/A N/A N/A self assertTrue N/A N/A conn remote_address N/A N/A N/A self assertTrue N/A N/A conn status N/A N/A N/A sock close N/A N/A safe_remove TESTFN N/A sock N/A N/A socket socket N/A socket AF_UNIX N/A socket SOCK_DGRAM N/A N/A N/A sock bind TESTFN N/A conn N/A N/A N/A N/A N/A psutil Process N/A N/A os getpid get_connections kind unix N/A 0 N/A N/A N/A self assertEqual N/A conn type N/A socket SOCK_DGRAM N/A N/A N/A sock close N/A N/A skipUnless N/A hasattr socket AF_UNIX test_connection_fromfd N/A N/A self N/A N/A N/A sock N/A N/A socket socket N/A N/A N/A sock bind N/A localhost 0 N/A N/A N/A sock listen 1 N/A p N/A N/A psutil Process N/A N/A os getpid N/A conn N/A N/A p get_connections N/A N/A N/A N/A conn fd N/A N/A sock fileno N/A N/A N/A N/A N/A N/A sock close N/A N/A N/A self fail couldn't find socket fd N/A dupsock N/A N/A socket fromfd N/A conn fd N/A conn family N/A conn type N/A N/A N/A N/A N/A self assertEqual N/A N/A dupsock getsockname N/A conn local_address N/A N/A N/A self assertNotEqual N/A N/A sock fileno N/A N/A dupsock fileno N/A N/A N/A N/A sock close N/A N/A N/A dupsock close N/A N/A skipUnless N/A N/A hasattr socket fromfd N/A WINDOWS test_get_connections_all N/A N/A self N/A N/A N/A tcp_template import socket;s = socket.socket($family, socket.SOCK_STREAM);s.bind(('$addr', 0));s.listen(1);conn, addr = s.accept(); N/A udp_template import socket, time;s = socket.socket($family, socket.SOCK_DGRAM);s.bind(('$addr', 0));time.sleep(100); string Template N/A tcp4_template N/A N/A N/A Template tcp_template substitute family N/A socket AF_INET addr 127.0.0.1 N/A udp4_template N/A N/A N/A Template udp_template substitute family N/A socket AF_INET addr 127.0.0.1 N/A tcp6_template N/A N/A N/A Template tcp_template substitute family N/A socket AF_INET6 addr ::1 N/A udp6_template N/A N/A N/A Template udp_template substitute family N/A socket AF_INET6 addr ::1 N/A tcp4_proc N/A get_test_subprocess N/A PYTHON -c tcp4_template N/A udp4_proc N/A get_test_subprocess N/A PYTHON -c udp4_template N/A N/A supports_ipv6 N/A N/A tcp6_proc N/A get_test_subprocess N/A PYTHON -c tcp6_template N/A udp6_proc N/A get_test_subprocess N/A PYTHON -c udp6_template N/A N/A tcp6_proc None N/A udp6_proc None N/A all_kinds N/A all inet inet4 inet6 tcp tcp4 tcp6 udp udp4 udp6 N/A p N/A N/A N/A N/A psutil Process N/A N/A os getpid get_children N/A N/A conn N/A N/A p get_connections N/A N/A N/A N/A p pid N/A tcp4_proc pid N/A N/A N/A N/A self assertEqual N/A conn family N/A socket AF_INET N/A N/A N/A self assertEqual N/A conn type N/A socket SOCK_STREAM N/A N/A N/A self assertEqual N/A N/A conn local_address N/A 0 127.0.0.1 N/A N/A N/A self assertEqual N/A conn remote_address N/A N/A N/A N/A self assertEqual N/A conn status LISTEN N/A kind all_kinds N/A N/A cons N/A N/A p get_connections kind kind N/A N/A kind N/A all inet inet4 tcp tcp4 N/A N/A N/A cons N/A cons N/A N/A N/A N/A self assertEqual cons N/A cons N/A N/A N/A N/A p pid N/A udp4_proc pid N/A N/A N/A N/A self assertEqual N/A conn family N/A socket AF_INET N/A N/A N/A self assertEqual N/A conn type N/A socket SOCK_DGRAM N/A N/A N/A self assertEqual N/A N/A conn local_address N/A 0 127.0.0.1 N/A N/A N/A self assertEqual N/A conn remote_address N/A N/A N/A N/A self assertEqual N/A conn status N/A kind all_kinds N/A N/A cons N/A N/A p get_connections kind kind N/A N/A kind N/A all inet inet4 udp udp4 N/A N/A N/A cons N/A cons N/A N/A N/A N/A self assertEqual cons N/A cons N/A N/A N/A N/A p pid N/A getattr tcp6_proc pid None N/A N/A N/A N/A self assertEqual N/A conn family N/A socket AF_INET6 N/A N/A N/A self assertEqual N/A conn type N/A socket SOCK_STREAM N/A N/A N/A self assertIn N/A N/A conn local_address N/A 0 N/A :: ::1 N/A N/A N/A self assertEqual N/A conn remote_address N/A N/A N/A N/A self assertEqual N/A conn status LISTEN N/A kind all_kinds N/A N/A cons N/A N/A p get_connections kind kind N/A N/A kind N/A all inet inet6 tcp tcp6 N/A N/A N/A cons N/A cons N/A N/A N/A N/A self assertEqual cons N/A cons N/A N/A N/A N/A p pid N/A getattr udp6_proc pid None N/A N/A N/A N/A self assertEqual N/A conn family N/A socket AF_INET6 N/A N/A N/A self assertEqual N/A conn type N/A socket SOCK_DGRAM N/A N/A N/A self assertIn N/A N/A conn local_address N/A 0 N/A :: ::1 N/A N/A N/A self assertEqual N/A conn remote_address N/A N/A N/A N/A self assertEqual N/A conn status N/A kind all_kinds N/A N/A cons N/A N/A p get_connections kind kind N/A N/A kind N/A all inet inet6 udp udp6 N/A N/A N/A cons N/A cons N/A N/A N/A N/A self assertEqual cons N/A cons N/A test_get_num_fds N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A start N/A N/A p get_num_fds N/A file N/A open TESTFN w N/A N/A N/A self assertEqual N/A N/A p get_num_fds N/A start 1 N/A sock N/A N/A socket socket N/A N/A N/A self assertEqual N/A N/A p get_num_fds N/A start 2 N/A N/A N/A file close N/A N/A N/A sock close N/A N/A N/A self assertEqual N/A N/A p get_num_fds start N/A N/A skipUnless POSIX test_get_num_ctx_switches N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A before N/A sum N/A N/A p get_num_ctx_switches N/A x N/A range 50000 N/A N/A after N/A sum N/A N/A p get_num_ctx_switches N/A N/A after before N/A N/A N/A N/A N/A self fail num ctx switches still the same after 50.000 iterations N/A test_parent_ppid N/A N/A self N/A N/A N/A this_parent N/A N/A os getpid N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A self assertEqual N/A p ppid this_parent N/A N/A N/A self assertEqual N/A N/A p parent pid this_parent N/A p N/A N/A psutil process_iter N/A N/A N/A N/A p pid N/A sproc pid N/A N/A N/A N/A N/A self assertTrue N/A N/A p ppid this_parent N/A test_get_children N/A N/A self N/A N/A N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A self assertEqual N/A N/A p get_children N/A N/A N/A N/A self assertEqual N/A N/A p get_children recursive True N/A N/A sproc N/A get_test_subprocess N/A children1 N/A N/A p get_children N/A children2 N/A N/A p get_children recursive True N/A children N/A children1 children2 N/A N/A N/A N/A self assertEqual N/A len children 1 N/A N/A N/A self assertEqual N/A N/A children N/A 0 pid N/A sproc pid N/A N/A N/A self assertEqual N/A N/A children N/A 0 ppid N/A N/A os getpid N/A test_get_children_recursive N/A N/A self N/A N/A N/A s import subprocess, os, sys, time; N/A s PYTHON = os.path.realpath(sys.executable); N/A s cmd = [PYTHON, '-c', 'import time; time.sleep(3600);']; N/A s subprocess.Popen(cmd); N/A s time.sleep(3600); N/A N/A get_test_subprocess cmd N/A PYTHON -c s N/A p N/A N/A psutil Process N/A N/A os getpid N/A N/A N/A self assertEqual N/A len N/A N/A p get_children recursive False 1 N/A stop_at N/A N/A N/A time time 1.5 N/A N/A N/A N/A time time stop_at N/A N/A children N/A N/A p get_children recursive True N/A N/A N/A len children 1 N/A N/A N/A N/A N/A self assertEqual N/A len children 2 N/A N/A N/A self assertEqual N/A N/A children N/A 0 ppid N/A N/A os getpid N/A N/A N/A self assertEqual N/A N/A children N/A 1 ppid N/A N/A children N/A 0 pid N/A test_get_children_duplicates N/A N/A self N/A N/A psutil._compat defaultdict N/A table N/A defaultdict int N/A p N/A N/A psutil process_iter N/A N/A N/A N/A N/A table N/A N/A p ppid 1 N/A N/A N/A N/A psutil Error N/A N/A N/A pid N/A max N/A sorted table key N/A N/A N/A x N/A N/A table N/A x N/A p N/A N/A psutil Process pid N/A N/A N/A c N/A N/A p get_children recursive True N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A N/A N/A N/A self assertEqual N/A len c N/A len N/A set c N/A test_suspend_resume N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess wait True N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A p suspend N/A x N/A range 100 N/A N/A N/A N/A p status N/A psutil STATUS_STOPPED N/A N/A N/A N/A N/A time sleep 0.01 N/A N/A N/A self assertEqual N/A str N/A p status stopped N/A N/A N/A p resume N/A N/A N/A p status N/A psutil STATUS_STOPPED N/A p status N/A test_invalid_pid N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A psutil Process 1 N/A N/A N/A self assertRaises TypeError N/A psutil Process None N/A N/A N/A self assertRaises N/A psutil NoSuchProcess N/A psutil Process -1 N/A test_as_dict N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A d N/A N/A p as_dict N/A N/A N/A json N/A N/A N/A ImportError N/A N/A N/A N/A N/A N/A json dumps d N/A d N/A N/A p as_dict attrs N/A exe name N/A N/A N/A self assertEqual N/A sorted N/A N/A d keys N/A exe name N/A p N/A N/A psutil Process N/A min N/A N/A psutil get_pid_list N/A d N/A N/A p as_dict attrs N/A get_connections ad_value foo N/A N/A N/A isinstance N/A d N/A connections list N/A N/A N/A N/A self assertEqual N/A d N/A connections foo N/A test_zombie_process N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A p kill N/A N/A N/A p wait N/A name N/A dir p N/A N/A N/A N/A N/A name startswith _ N/A name N/A pid send_signal is_running set_ionice wait set_cpu_affinity create_time set_nice nice N/A N/A N/A N/A N/A meth N/A getattr p name N/A N/A callable meth N/A N/A N/A meth N/A N/A N/A N/A psutil NoSuchProcess N/A N/A N/A N/A N/A N/A self fail N/A NoSuchProcess exception not raised for %r name N/A N/A N/A N/A N/A os name posix N/A N/A N/A N/A p set_nice 1 N/A N/A N/A N/A p set_nice N/A psutil NORMAL_PRIORITY_CLASS N/A N/A N/A N/A psutil NoSuchProcess N/A N/A N/A N/A N/A N/A self fail exception not raised N/A N/A hasattr p set_ionice N/A N/A N/A N/A self assertRaises N/A psutil NoSuchProcess N/A p set_ionice 2 N/A N/A N/A self assertRaises N/A psutil NoSuchProcess N/A p send_signal N/A signal SIGTERM N/A N/A N/A self assertRaises N/A psutil NoSuchProcess N/A p set_nice 0 N/A N/A N/A self assertFalse N/A N/A p is_running N/A N/A hasattr p set_cpu_affinity N/A N/A N/A N/A self assertRaises N/A psutil NoSuchProcess N/A p set_cpu_affinity N/A 0 N/A test__str__ N/A N/A self N/A N/A N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A self assertIn N/A str N/A sproc pid N/A str p N/A N/A OSX N/A N/A N/A N/A self assertIn N/A N/A N/A os path basename PYTHON N/A str p N/A sproc N/A get_test_subprocess N/A p N/A N/A psutil Process N/A sproc pid N/A N/A N/A p kill N/A N/A N/A p wait N/A N/A N/A self assertIn N/A str N/A sproc pid N/A str p N/A N/A N/A self assertIn terminated N/A str p N/A test_pid_0 N/A N/A self N/A N/A N/A p N/A N/A psutil Process 0 N/A N/A N/A self assertTrue N/A p name N/A N/A N/A os name posix N/A N/A N/A N/A self assertEqual N/A N/A p uids real 0 N/A N/A N/A self assertEqual N/A N/A p gids real 0 N/A N/A N/A self assertIn N/A p ppid N/A 0 1 N/A N/A N/A self assertEqual N/A p cmdline N/A N/A N/A N/A N/A N/A p get_num_threads N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A N/A N/A N/A N/A p get_memory_info N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A POSIX N/A N/A N/A N/A self assertEqual N/A p username root N/A N/A WINDOWS N/A N/A N/A N/A self assertEqual N/A p username NT AUTHORITY\SYSTEM N/A N/A N/A p username N/A N/A N/A self assertIn 0 N/A N/A psutil get_pid_list N/A N/A N/A self assertTrue N/A N/A psutil pid_exists 0 N/A N/A skipIf LINUX test_Popen N/A N/A self N/A N/A N/A cmd N/A PYTHON -c import time; time.sleep(3600); N/A proc N/A N/A psutil Popen cmd stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A N/A proc name N/A N/A proc stdin N/A N/A N/A self assertTrue N/A hasattr proc name N/A N/A N/A self assertTrue N/A hasattr proc stdin N/A N/A N/A self assertRaises AttributeError getattr proc foo N/A N/A N/A N/A proc kill N/A N/A N/A proc wait N/A N/A TestFetchAllProcesses N/A N/A unittest TestCase N/A N/A N/A N/A hasattr N/A unittest TestCase assertIn N/A assertIn N/A N/A self member container msg N/A None N/A N/A N/A member container N/A N/A N/A N/A self fail N/A msg N/A %s not found in %s N/A N/A repr member N/A repr container N/A setUp N/A N/A self N/A N/A N/A POSIX N/A N/A pwd N/A pall N/A N/A pwd getpwall N/A N/A self _uids N/A set N/A N/A x pw_uid N/A x pall N/A N/A self _usernames N/A set N/A N/A x pw_name N/A x pall N/A test_fetch_all N/A N/A self N/A N/A N/A valid_procs 0 N/A excluded_names N/A send_signal suspend resume terminate kill wait as_dict get_cpu_percent nice parent get_children pid N/A attrs N/A N/A name N/A dir N/A psutil Process N/A N/A N/A N/A name startswith _ N/A N/A N/A N/A N/A name startswith set_ N/A N/A N/A N/A name excluded_names N/A N/A N/A N/A N/A attrs append name N/A p N/A N/A psutil process_iter N/A N/A name attrs N/A N/A N/A N/A N/A N/A attr N/A getattr p name None N/A N/A N/A attr None N/A callable attr N/A N/A ret N/A attr N/A N/A ret attr N/A valid_procs 1 N/A N/A N/A N/A N/A psutil NoSuchProcess N/A psutil AccessDenied N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A self assertEqual N/A err pid N/A p pid N/A N/A err name N/A N/A N/A N/A self assertEqual N/A err name N/A p name N/A N/A N/A self assertTrue N/A str err N/A N/A N/A self assertTrue N/A err msg N/A N/A N/A ret N/A 0 0.0 N/A None N/A N/A ret ret N/A meth N/A getattr self name N/A N/A meth ret N/A N/A N/A Exception N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A trace N/A N/A traceback format_exc N/A N/A N/A self fail N/A %s
proc=%s, method=%r, retvalue=%r N/A trace p name ret N/A N/A N/A self assertTrue N/A valid_procs 0 N/A cmdline N/A N/A self ret N/A N/A N/A N/A exe N/A N/A self ret N/A N/A N/A N/A ret N/A N/A N/A ret N/A N/A N/A N/A N/A os path isabs ret ret N/A POSIX N/A N/A N/A N/A N/A os path isfile ret ret N/A N/A N/A hasattr os access N/A hasattr os X_OK N/A N/A N/A N/A self assertTrue N/A N/A os access ret N/A os X_OK N/A ppid N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A ret 0 N/A name N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A isinstance ret str N/A N/A N/A self assertTrue ret N/A create_time N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A ret 0 N/A N/A WINDOWS N/A N/A N/A N/A self assertTrue N/A ret N/A psutil BOOT_TIME N/A N/A N/A time strftime %Y %m %d %H:%M:%S N/A N/A time localtime ret N/A uids N/A N/A self ret N/A N/A N/A uid ret N/A N/A N/A N/A self assertTrue N/A uid 0 N/A N/A N/A self assertIn uid N/A self _uids N/A gids N/A N/A self ret N/A N/A N/A gid ret N/A N/A N/A N/A self assertTrue N/A gid 0 N/A username N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue ret N/A N/A N/A os name posix N/A N/A N/A N/A self assertIn ret N/A self _usernames N/A status N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A ret 0 N/A N/A N/A self assertTrue N/A N/A str ret ? N/A get_io_counters N/A N/A self ret N/A N/A N/A field ret N/A N/A N/A field -1 N/A N/A N/A N/A self assertTrue N/A field 0 N/A get_ionice N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A N/A ret ioclass 0 N/A N/A N/A self assertTrue N/A N/A ret value 0 N/A get_num_threads N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A ret 1 N/A get_threads N/A N/A self ret N/A N/A N/A t ret N/A N/A N/A N/A self assertTrue N/A N/A t id 0 N/A N/A N/A self assertTrue N/A N/A t user_time 0 N/A N/A N/A self assertTrue N/A N/A t system_time 0 N/A get_cpu_times N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A N/A ret user 0 N/A N/A N/A self assertTrue N/A N/A ret system 0 N/A get_memory_info N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A N/A ret rss 0 N/A N/A N/A self assertTrue N/A N/A ret vms 0 N/A get_ext_memory_info N/A N/A self ret N/A N/A N/A name N/A ret _fields N/A N/A N/A N/A self assertTrue N/A N/A getattr ret name 0 N/A N/A POSIX N/A N/A ret vms 0 N/A N/A name N/A ret _fields N/A N/A N/A name vms N/A N/A value N/A getattr ret name N/A N/A N/A ret vms value ret N/A N/A WINDOWS N/A N/A N/A N/A ret peak_wset N/A ret wset ret N/A N/A N/A ret peak_paged_pool N/A ret paged_pool ret N/A N/A N/A ret peak_nonpaged_pool N/A ret nonpaged_pool ret N/A N/A N/A ret peak_pagefile N/A ret pagefile ret N/A get_open_files N/A N/A self ret N/A N/A N/A f ret N/A N/A WINDOWS N/A N/A N/A N/A f fd -1 f N/A N/A N/A isinstance N/A f fd int f N/A N/A N/A N/A os path isabs N/A f path f N/A N/A N/A N/A os path isfile N/A f path f N/A get_num_fds N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A ret 0 N/A get_connections N/A N/A self ret N/A N/A N/A valid_conn_states N/A ESTABLISHED SYN_SENT SYN_RECV FIN_WAIT1 FIN_WAIT2 TIME_WAIT CLOSE CLOSE_WAIT LAST_ACK LISTEN CLOSING N/A conn ret N/A N/A N/A N/A self assertIn N/A conn type N/A N/A socket SOCK_STREAM N/A socket SOCK_DGRAM N/A N/A N/A self assertIn N/A conn family N/A N/A socket AF_INET N/A socket AF_INET6 N/A N/A check_ip_address N/A conn local_address N/A conn family N/A N/A check_ip_address N/A conn remote_address N/A conn family N/A N/A N/A conn status valid_conn_states N/A N/A N/A N/A self fail N/A %s is not a valid status N/A conn status N/A N/A N/A conn family N/A socket AF_INET N/A N/A s N/A N/A socket socket N/A conn family N/A conn type N/A N/A N/A s bind N/A N/A N/A conn local_address N/A 0 0 N/A N/A N/A s close N/A N/A N/A WINDOWS N/A hasattr socket fromfd N/A N/A dupsock None N/A N/A N/A N/A N/A dupsock N/A N/A socket fromfd N/A conn fd N/A conn family N/A conn type N/A N/A N/A N/A N/A socket error OSError N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A N/A err args N/A 0 N/A errno EBADF N/A N/A N/A N/A N/A hasattr dupsock family N/A N/A N/A N/A self assertEqual N/A dupsock family N/A conn family N/A N/A N/A self assertEqual N/A dupsock type N/A conn type N/A N/A N/A dupsock None N/A N/A N/A N/A dupsock close N/A getcwd N/A N/A self ret N/A N/A N/A N/A ret None N/A N/A N/A N/A N/A os path isabs ret ret N/A N/A N/A st N/A N/A os stat ret N/A N/A N/A OSError N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A err errno N/A errno ENOENT N/A N/A N/A N/A N/A N/A self assertTrue N/A N/A stat S_ISDIR N/A st st_mode N/A get_memory_percent N/A N/A self ret N/A N/A N/A N/A 0 ret 100 ret N/A is_running N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue ret N/A get_cpu_affinity N/A N/A self ret N/A N/A N/A N/A ret N/A ret N/A terminal N/A N/A self ret N/A N/A N/A N/A ret None N/A N/A N/A N/A N/A os path isabs ret ret N/A N/A N/A N/A os path exists ret ret N/A get_memory_maps N/A N/A self ret N/A N/A N/A nt ret N/A N/A fname N/A nt _fields N/A N/A value N/A getattr nt fname N/A N/A fname path N/A N/A N/A N/A N/A value startswith [ N/A N/A N/A N/A N/A os path isabs N/A nt path N/A nt path N/A N/A N/A fname N/A addr perms N/A N/A N/A N/A self assertTrue value N/A N/A N/A isinstance value N/A int long N/A N/A value 0 value N/A get_num_handles N/A N/A self ret N/A N/A N/A WINDOWS N/A N/A N/A ret 0 N/A N/A N/A ret 0 N/A get_nice N/A N/A self ret N/A N/A N/A POSIX N/A N/A N/A -20 ret 20 ret N/A N/A priorities N/A N/A getattr psutil x N/A x N/A dir psutil N/A N/A x endswith _PRIORITY_CLASS N/A N/A N/A self assertIn ret priorities N/A get_num_ctx_switches N/A N/A self ret N/A N/A N/A N/A N/A self assertTrue N/A N/A ret voluntary 0 N/A N/A N/A self assertTrue N/A N/A ret involuntary 0 N/A N/A N/A N/A hasattr os getuid N/A LimitedUserTestCase N/A TestCase N/A N/A Repeat the previous tests by using a limited user.
        Executed only on UNIX and only if the user who run the test script
        is root.
         N/A PROCESS_UID N/A N/A os getuid N/A PROCESS_GID N/A N/A os getgid __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A TestCase __init__ self args kwargs N/A attr N/A x N/A x N/A dir self N/A N/A x startswith test N/A N/A meth N/A getattr self attr test_ N/A N/A self N/A N/A N/A N/A N/A N/A meth N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A N/A N/A setattr self attr N/A N/A types MethodType test_ self N/A setUp N/A N/A self N/A N/A N/A N/A N/A os setegid 1000 N/A N/A N/A os seteuid 1000 N/A N/A N/A TestCase setUp self N/A tearDown N/A N/A self N/A N/A N/A N/A N/A os setegid N/A self PROCESS_UID N/A N/A N/A os seteuid N/A self PROCESS_GID N/A N/A N/A TestCase tearDown self N/A test_nice N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A psutil Process N/A N/A os getpid set_nice -1 N/A N/A N/A N/A psutil AccessDenied N/A N/A N/A N/A N/A N/A self fail exception not raised N/A N/A cleanup N/A N/A N/A N/A N/A N/A reap_children search_all True N/A N/A N/A DEVNULL close N/A N/A safe_remove TESTFN N/A N/A N/A N/A atexit register cleanup test_main N/A N/A N/A N/A N/A tests N/A N/A test_suite N/A N/A unittest TestSuite N/A N/A N/A tests append TestCase N/A N/A N/A tests append TestFetchAllProcesses N/A POSIX N/A _posix PosixSpecificTestCase N/A N/A N/A tests append PosixSpecificTestCase N/A LINUX N/A _linux LinuxSpecificTestCase stc N/A N/A WINDOWS N/A _windows WindowsSpecificTestCase stc _windows TestDualProcessImplementation N/A N/A N/A tests append TestDualProcessImplementation N/A N/A OSX N/A _osx OSXSpecificTestCase stc N/A N/A BSD N/A _bsd BSDSpecificTestCase stc N/A N/A N/A tests append stc N/A N/A hasattr os getuid N/A N/A N/A N/A N/A os getuid 0 N/A N/A N/A N/A tests append LimitedUserTestCase N/A N/A N/A N/A atexit register warn Couldn't run limited user tests (super-user privileges are required) N/A test_class tests N/A N/A N/A N/A test_suite addTest N/A N/A unittest makeSuite test_class N/A N/A N/A N/A N/A unittest TextTestRunner verbosity 2 run test_suite N/A N/A N/A __name__ __main__ N/A N/A N/A test_main