Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad ImportFrom alias Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareGt NameLoad Num body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad While CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Delete NameDel NameDel NameDel ClassDef bases body Pass decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareIn SubscriptLoad NameLoad Slice Num ListLoad Str Str body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str orelse Assign NameStore ListLoad Str Str Str Str Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases body FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list Expr Call NameLoad NameLoad Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num body If Call NameLoad body Assign NameStore TupleLoad orelse Assign NameStore TupleLoad NameLoad orelse Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareLt NameLoad Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr UnaryOpNot AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr TupleLoad Num Num Num For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad ListLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad BinOpAdd NameLoad Str orelse Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If BoolOpAnd CompareLtE NameLoad Num CompareLt NameLoad Num body Assign NameStore TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Delete NameDel Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore CompareNotEq AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Delete NameDel NameDel Expr Call AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr CompareNotEq NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Delete NameDel Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword TupleLoad Num Num Num keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd BinOpMult NameLoad Num NameLoad comprehension NameStore Call NameLoad Num comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Delete NameDel Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd BinOpMult NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num keyword NameLoad Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad Num Num Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad Num Num Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Delete NameDel Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num Assign NameStore SubscriptLoad NameLoad Index Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Delete SubscriptDel NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Delete SubscriptDel NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign SubscriptStore NameLoad Index Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Num Num Assign SubscriptStore NameLoad Index Num ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub NameLoad NameLoad Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Delete NameDel Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num If CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str orelse If CompareIs Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr BoolOpAnd CompareGtE NameLoad Num CompareGt NameLoad Num CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareLt NameLoad Num body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num Num body Assign AttributeStore NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr CompareGtE NameLoad Num Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn TupleLoad Str Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad NameLoad BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str CompareGt Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad Str CompareIsNot NameLoad NameLoad body TryExcept body Expr Call NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass orelse TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Assign NameStore Str Raise Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias alias Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr Str Str Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr CompareGt NameLoad Num Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Tests for tvtk objects.

Some of these tests are copied from test_tvtk_base.  This is just to
make sure that the generated code works well.

 N/A unittest N/A pickle N/A weakref N/A sys N/A gc N/A traceback N/A contextlib N/A types N/A numpy N/A vtk tvtk tvtk_base tvtk.common get_tvtk_name configure_input_data is_version_7 traits.api TraitError N/A vtk_major_version N/A N/A N/A vtk vtkVersion GetVTKMajorVersion N/A vtk_minor_version N/A N/A N/A vtk vtkVersion GetVTKMinorVersion N/A N/A tvtk.api tvtk N/A N/A N/A ImportError N/A N/A msg 
You need to build the tvtk_classes.zip file to run this test.
To generate tvtk_classes.zip you must do the following::

  $ cd ../ # This is the enthought/tvtk directory
  $ python code_gen.py
 N/A N/A ImportError msg tvtk.tvtk_classes tvtk_helper N/A PY_VER N/A N/A sys version_info N/A 0 N/A N/A PY_VER 2 N/A N/A long int mysum N/A N/A arr N/A N/A N/A val arr N/A N/A N/A type val N/A numpy ndarray N/A N/A val N/A N/A numpy sum val N/A val N/A TestTVTK N/A N/A unittest TestCase N/A test_wrap_vtk N/A N/A self N/A N/A N/A Test if the wrap_vtk function works. N/A o N/A N/A vtk vtkVolume N/A w N/A N/A tvtk_helper wrap_vtk o N/A N/A N/A self assertEqual N/A N/A w __class__ __name__ Volume N/A w1 N/A N/A tvtk_helper wrap_vtk w N/A N/A N/A self assertEqual w w1 N/A w1 w o A N/A N/A N/A N/A N/A a N/A A N/A w N/A N/A tvtk_helper wrap_vtk a N/A N/A N/A self assertEqual a w N/A test_cache N/A N/A self N/A N/A N/A Test the caching of ancestor classes. N/A N/A N/A N/A vtk vtkObject GlobalWarningDisplayOff N/A o N/A N/A tvtk ImageFFT N/A vtk_ver N/A N/A N/A N/A vtk vtkVersion GetVTKVersion N/A N/A N/A vtk_ver N/A 3 N/A 4.2 4.4 N/A N/A cached N/A ImageFourierFilter ImageDecomposeFilter ImageIterateFilter ImageToImageFilter ImageSource Source ProcessObject Object ObjectBase N/A N/A cached N/A ImageFourierFilter ImageDecomposeFilter ImageIterateFilter ThreadedImageAlgorithm ImageAlgorithm Algorithm Object ObjectBase N/A i cached N/A N/A N/A N/A self assertIn i N/A tvtk_helper _cache N/A N/A N/A N/A vtk vtkObject GlobalWarningDisplayOn N/A test_custom N/A N/A self N/A N/A N/A Test if custom modules can be imported. N/A mod N/A N/A types ModuleType xml_data_reader XMLDataReader N/A N/A f N/A N/A self N/A N/A N/A f N/A N/A N/A N/A setattr mod XMLDataReader XMLDataReader N/A N/A N/A sys modules N/A tvtk.custom.xml_data_reader mod N/A r N/A N/A tvtk XMLDataReader N/A N/A N/A self assertEqual N/A N/A r f f N/A N/A N/A len N/A N/A vtk vtkObjectBase __bases__ 0 N/A N/A N/A is_version_7 N/A N/A expect N/A N/A N/A expect N/A object N/A N/A expect N/A tuple N/A N/A N/A self assertEqual N/A N/A r __class__ __bases__ expect N/A N/A N/A sys modules N/A tvtk.custom.xml_data_reader N/A test_basic N/A N/A self N/A N/A N/A Test a simple tvtk pipeline. N/A cs N/A N/A tvtk ConeSource N/A m N/A N/A tvtk PolyDataMapper N/A N/A vtk_major_version 6 N/A N/A N/A m input N/A cs output N/A N/A m input N/A N/A cs get_output N/A N/A N/A m input_connection N/A cs output_port N/A N/A N/A m set_input_data N/A N/A cs get_output N/A a N/A N/A tvtk Actor N/A N/A a mapper m N/A N/A cs resolution 36 N/A p N/A a property N/A N/A p representation w N/A test_do_change N/A N/A self N/A N/A N/A Test if VTK object changes when trait is changed. N/A p N/A N/A tvtk Property N/A N/A p edge_visibility N/A N/A p edge_visibility N/A N/A p representation p N/A N/A p interpolation phong N/A N/A p opacity 0.5 N/A N/A p color N/A 0 1 0 N/A N/A p diffuse_color N/A 1 1 1 N/A N/A p specular_color N/A 1 1 0 N/A N/A t g N/A p _updateable_traits_ N/A N/A val N/A N/A getattr N/A p _vtk_obj g N/A N/A t N/A representation interpolation N/A N/A N/A N/A self assertEqual val N/A getattr p N/A t _ N/A N/A N/A N/A self assertEqual val N/A getattr p t N/A test_auto_update N/A N/A self N/A N/A N/A Test if traits are updated when the VTK object changes. N/A p N/A N/A tvtk Property N/A obj N/A p _vtk_obj N/A N/A N/A obj SetEdgeVisibility 1 N/A N/A N/A self assertEqual N/A p edge_visibility 1 N/A N/A N/A obj SetOpacity 0.5 N/A N/A N/A self assertEqual N/A p opacity 0.5 N/A N/A N/A obj SetRepresentationToPoints N/A N/A N/A self assertEqual N/A p representation points N/A N/A N/A vtk_major_version 5 N/A vtk_minor_version 10 N/A N/A val N/A 1.0 1.0 0.0 N/A N/A N/A obj SetColor val N/A N/A N/A self assertEqual N/A p color val N/A val N/A 1.0 0.0 0.0 N/A N/A N/A obj SetDiffuseColor val N/A N/A N/A self assertEqual N/A p diffuse_color val N/A val N/A 0.0 1.0 0.0 N/A N/A N/A obj SetSpecularColor val N/A N/A N/A self assertEqual N/A p specular_color val N/A test_obj_del N/A N/A self N/A N/A N/A Test object deletion and reference cycles. N/A p N/A N/A tvtk Property N/A N/A p representation 0 N/A ref N/A N/A weakref ref p N/A p N/A N/A N/A self assertEqual N/A ref None N/A test_help_trait N/A N/A self N/A N/A N/A Test if the help attribute is correct. N/A n N/A N/A tvtk PolyDataNormals N/A t N/A N/A n traits N/A test N/A N/A N/A t N/A splitting help N/A N/A t N/A non_manifold_traversal help N/A N/A N/A self assertEqual test True N/A test_object_cache N/A N/A self N/A N/A N/A Test if object cache works. N/A cs N/A N/A tvtk ConeSource N/A hash1 N/A hash cs N/A o N/A cs output N/A N/A hasattr o producer_port N/A N/A src N/A N/A o producer_port producer N/A N/A src N/A N/A cs executive algorithm N/A N/A N/A self assertEqual src cs N/A N/A N/A self assertEqual hash1 N/A hash src N/A cs src N/A N/A N/A gc collect N/A junk N/A N/A N/A tvtk ConeSource N/A i N/A range 50 N/A cs N/A N/A tvtk ConeSource N/A o N/A cs output N/A N/A hasattr o producer_port N/A N/A src N/A N/A o producer_port producer N/A N/A src N/A N/A cs executive algorithm N/A N/A vtk_major_version 5 N/A N/A N/A N/A self assertEqual N/A hash1 N/A hash src True N/A N/A N/A self assertEqual N/A hash cs N/A hash src N/A r N/A N/A tvtk Renderer _get_props N/A N/A obj N/A N/A N/A N/A hasattr obj view_props N/A N/A N/A obj view_props N/A N/A N/A obj props N/A N/A p N/A _get_props r N/A l1 N/A len N/A tvtk_base _object_cache N/A p1 N/A _get_props r N/A p1 N/A l2 N/A len N/A tvtk_base _object_cache N/A N/A N/A self assertEqual l1 l2 N/A test_init_traits N/A N/A self N/A N/A N/A Test if the objects traits can be set in __init__. N/A p N/A N/A tvtk Property opacity 0.1 color N/A 1 0 0 representation p N/A N/A N/A self assertEqual N/A p opacity 0.1 N/A N/A N/A self assertEqual N/A p color N/A 1.0 0.0 0.0 N/A N/A N/A self assertEqual N/A p representation points N/A N/A N/A self assertRaises TraitError N/A tvtk Property foo bar N/A cs N/A N/A tvtk ConeSource radius 0.1 height 0.5 resolution 32 N/A N/A N/A self assertEqual N/A cs radius 0.1 N/A N/A N/A self assertEqual N/A cs height 0.5 N/A N/A N/A self assertEqual N/A cs resolution 32 N/A N/A N/A self assertRaises TraitError N/A tvtk ConeSource foo 1 N/A test_matrix4x4 N/A N/A self N/A N/A N/A Test if Matrix4x4 works nicely. N/A m N/A N/A tvtk Matrix4x4 N/A N/A N/A N/A m set_element i j N/A N/A i 4 j N/A i N/A range 4 N/A j N/A range 4 N/A s N/A N/A pickle dumps m N/A m N/A m N/A N/A pickle loads s N/A i N/A range 4 N/A N/A j N/A range 4 N/A N/A N/A N/A self assertEqual N/A N/A m get_element i j N/A N/A i 4 j N/A a N/A N/A numpy array N/A list N/A range 16 dtype float N/A N/A a shape N/A 4 4 N/A m N/A N/A tvtk Matrix4x4 N/A N/A N/A m from_array a N/A b N/A N/A m to_array N/A N/A N/A self assertEqual N/A N/A numpy allclose a b True N/A test_property N/A N/A self N/A N/A N/A Test if Property's color works ok in all circumstances. N/A p N/A N/A tvtk Property N/A val N/A 0.0 1.0 0.0 N/A N/A p color val N/A N/A p specular 1.0 N/A N/A N/A self assertEqual N/A p specular_color val N/A N/A N/A self assertEqual N/A p diffuse_color val N/A N/A N/A self assertEqual N/A p ambient_color val N/A sc N/A 1.0 0.0 1.0 N/A N/A p specular_color sc N/A N/A N/A self assertEqual N/A p specular_color sc N/A N/A N/A self assertEqual N/A p diffuse_color val N/A N/A N/A self assertEqual N/A p ambient_color val N/A N/A N/A self assertEqual N/A p color N/A 0.5 0.5 0.5 N/A s N/A N/A pickle dumps p N/A p N/A p N/A N/A pickle loads s N/A N/A N/A self assertEqual N/A p specular_color sc N/A N/A N/A self assertEqual N/A p diffuse_color val N/A N/A N/A self assertEqual N/A p ambient_color val N/A N/A N/A self assertEqual N/A p color N/A 0.5 0.5 0.5 N/A test_points_lookup N/A N/A self N/A N/A N/A  Test if points can be looked up with both int and long keys.
            Fixes GH Issue 173.
         N/A points N/A N/A tvtk Points N/A N/A N/A points insert_next_point N/A 0 1 2 N/A pt N/A points N/A 0 N/A N/A N/A self assertEqual pt N/A 0 1 2 N/A ptl N/A points N/A N/A long 0 N/A N/A N/A self assertEqual ptl N/A 0 1 2 N/A get_pt N/A N/A points get_point 0 N/A N/A N/A self assertEqual get_pt N/A 0 1 2 N/A get_ptl N/A N/A points get_point N/A long 0 N/A N/A N/A self assertEqual get_ptl N/A 0 1 2 N/A test_cell_array N/A N/A self N/A N/A N/A  Test if cell array insertion updates number of cells.
            Fixes GH Issue 178.
         N/A cell_array N/A N/A tvtk CellArray N/A line1 N/A N/A tvtk Line N/A N/A N/A self assertEqual N/A cell_array number_of_cells 0 N/A N/A N/A cell_array insert_next_cell line1 N/A N/A N/A self assertEqual N/A cell_array number_of_cells 1 N/A line2 N/A N/A tvtk Line N/A N/A N/A cell_array insert_next_cell line2 N/A N/A N/A self assertEqual N/A cell_array number_of_cells 2 N/A test_collection N/A N/A self N/A N/A N/A Test if Collection objects work nicely. N/A ac N/A N/A tvtk ActorCollection N/A N/A N/A self assertEqual N/A len ac 0 N/A N/A N/A self assertRaises IndexError N/A ac __getitem__ 0 N/A a_list N/A N/A a N/A N/A tvtk Actor N/A N/A N/A a_list append a N/A N/A N/A ac append a N/A N/A N/A self assertRaises TypeError N/A ac __getitem__ s N/A N/A N/A self assertEqual N/A len ac 1 N/A a N/A N/A tvtk Actor N/A N/A N/A a_list append a N/A N/A N/A ac append a N/A N/A N/A self assertEqual N/A len ac 2 N/A N/A i j N/A zip ac a_list N/A N/A N/A N/A self assertEqual N/A i _vtk_obj N/A j _vtk_obj N/A N/A i j N/A enumerate ac N/A N/A N/A N/A self assertEqual N/A N/A a_list N/A i _vtk_obj N/A j _vtk_obj N/A N/A ac N/A 0 N/A a_list N/A 1 N/A N/A ac N/A 1 N/A a_list N/A 0 N/A N/A N/A self assertEqual N/A N/A ac N/A 0 _vtk_obj N/A N/A a_list N/A 1 _vtk_obj N/A N/A N/A self assertEqual N/A N/A ac N/A 1 _vtk_obj N/A N/A a_list N/A 0 _vtk_obj N/A N/A N/A self assertRaises TypeError N/A ac __setitem__ s N/A a_list N/A 1 N/A N/A ac N/A -2 N/A N/A N/A self assertEqual N/A N/A ac N/A 0 _vtk_obj N/A N/A a_list N/A 0 _vtk_obj N/A N/A N/A self assertEqual N/A len ac 1 N/A N/A N/A self assertRaises TypeError N/A ac __delitem__ 1.414 N/A N/A ac N/A 0 N/A N/A N/A self assertEqual N/A len ac 0 N/A N/A N/A self assertEqual N/A repr ac [] N/A N/A N/A ac extend a_list N/A N/A N/A self assertEqual N/A len ac 2 N/A N/A i j N/A enumerate ac N/A N/A N/A N/A self assertEqual N/A N/A a_list N/A i _vtk_obj N/A j _vtk_obj N/A pc N/A N/A tvtk PropCollection N/A a N/A N/A tvtk Actor N/A N/A N/A pc append a N/A N/A N/A self assertEqual N/A pc N/A 0 a N/A i pc N/A N/A N/A N/A self assertEqual i a N/A test_set_scalars N/A N/A self N/A N/A N/A Test if SetScalars works without a segfault. N/A mesh N/A N/A tvtk PolyData N/A sc N/A N/A tvtk FloatArray N/A N/A N/A mesh point_data scalars sc N/A test_data_array N/A N/A self N/A N/A N/A Test if vtkDataArrays behave in a Pythonic fashion. N/A f N/A N/A tvtk FloatArray N/A a N/A N/A numpy array N/A N/A 0.0 0 0 N/A 1 1 1 N/A N/A N/A f from_array a N/A N/A N/A self assertEqual N/A f number_of_components 3 N/A N/A N/A self assertEqual N/A f number_of_tuples 2 N/A N/A N/A self assertEqual N/A mysum N/A N/A N/A f to_array a 0 N/A N/A i j N/A zip a f N/A N/A N/A N/A self assertEqual N/A mysum N/A i j 0.0 N/A N/A N/A self assertEqual N/A f N/A 0 N/A 0.0 0.0 0.0 N/A N/A N/A self assertEqual N/A f N/A -1 N/A 1.0 1.0 1.0 N/A N/A N/A self assertEqual N/A repr f [(0.0, 0.0, 0.0), (1.0, 1.0, 1.0)] N/A N/A N/A f append N/A 2 2 2 N/A N/A N/A f extend N/A N/A 3 3 3 N/A 4 4 4 N/A N/A N/A self assertEqual N/A len f 5 N/A N/A N/A self assertEqual N/A f number_of_components 3 N/A N/A N/A self assertEqual N/A f number_of_tuples 5 N/A N/A f N/A 1 N/A -1 -1 -1 N/A N/A N/A self assertEqual N/A f N/A 1 N/A -1.0 -1.0 -1.0 N/A N/A N/A self assertRaises IndexError N/A f __getitem__ 100 N/A N/A N/A self assertRaises IndexError N/A f __setitem__ 100 100 N/A a N/A N/A numpy array N/A N/A 0.0 0 0 0 0 N/A 1 1 1 1 1 N/A N/A N/A f from_array a N/A N/A N/A self assertEqual N/A mysum N/A N/A N/A f to_array a 0.0 N/A N/A i j N/A zip a f N/A N/A N/A N/A self assertEqual N/A mysum N/A i j 0.0 N/A N/A N/A self assertEqual N/A f N/A 0 N/A 0.0 0.0 0.0 0.0 0.0 N/A N/A N/A self assertEqual N/A f N/A -1 N/A 1.0 1.0 1.0 1.0 1.0 N/A N/A N/A self assertEqual N/A repr f [(0.0, 0.0, 0.0, 0.0, 0.0), (1.0, 1.0, 1.0, 1.0, 1.0)] N/A N/A N/A f append N/A 2 2 2 2 2 N/A N/A N/A f extend N/A N/A 3 3 3 3 3 N/A 4 4 4 4 4 N/A N/A N/A self assertEqual N/A len f 5 N/A N/A N/A self assertEqual N/A f number_of_components 5 N/A N/A N/A self assertEqual N/A f number_of_tuples 5 N/A N/A N/A self assertEqual N/A f N/A -1 N/A 4.0 4.0 4.0 4.0 4.0 N/A N/A f N/A 1 N/A -1 -1 -1 -1 -1 N/A N/A N/A self assertEqual N/A f N/A 1 N/A -1.0 -1.0 -1.0 -1.0 -1.0 N/A N/A N/A self assertRaises IndexError N/A f __getitem__ 100 N/A N/A N/A self assertRaises IndexError N/A f __setitem__ 100 100 N/A test_points N/A N/A self N/A N/A N/A Test if vtkPoints behaves in a Pythonic fashion. N/A f N/A N/A tvtk Points N/A a N/A N/A numpy array N/A N/A 0.0 0 0 N/A 1 1 1 N/A N/A N/A f from_array a N/A N/A N/A self assertEqual N/A mysum N/A N/A N/A f to_array a 0 N/A N/A i j N/A zip a f N/A N/A N/A N/A self assertEqual N/A mysum N/A i j 0 N/A N/A a N/A N/A 0 0 1.0 N/A a N/A N/A N/A self assertEqual N/A f N/A 0 N/A 1.0 0.0 0.0 N/A N/A N/A self assertEqual N/A f N/A -1 N/A 1.0 1.0 1.0 N/A N/A N/A self assertEqual N/A repr f [(1.0, 0.0, 0.0), (1.0, 1.0, 1.0)] N/A N/A N/A f append N/A 2 2 2 N/A N/A N/A f extend N/A N/A 3 3 3 N/A 4 4 4 N/A N/A N/A self assertEqual N/A len f 5 N/A N/A f N/A 1 N/A -1 -1 -1 N/A N/A N/A self assertEqual N/A f N/A 1 N/A -1.0 -1.0 -1.0 N/A N/A N/A self assertRaises IndexError N/A f __getitem__ 100 N/A N/A N/A self assertRaises IndexError N/A f __setitem__ 100 100 N/A test_idlist N/A N/A self N/A N/A N/A Test if vtkIdList behaves in a Pythonic fashion. N/A f N/A N/A tvtk IdList N/A a N/A N/A numpy array N/A 0 1 2 3 N/A N/A N/A f from_array a N/A N/A i j N/A zip a f N/A N/A N/A N/A self assertEqual i j N/A N/A N/A self assertEqual N/A f N/A -1 3 N/A N/A N/A self assertEqual N/A f N/A 0 0 N/A N/A N/A N/A sys version_info N/A 0 2 N/A N/A N/A N/A self assertEqual N/A repr f [0, 1, 2, 3] N/A N/A N/A N/A type N/A f N/A 0 long N/A N/A N/A N/A self assertEqual N/A repr f [0L, 1L, 2L, 3L] N/A N/A N/A N/A self assertEqual N/A repr f [0, 1, 2, 3] N/A N/A N/A f append 4 N/A N/A N/A f extend N/A 5 6 N/A N/A N/A self assertEqual N/A len f 7 N/A N/A f N/A 1 -1 N/A N/A N/A self assertEqual N/A f N/A 1 -1 N/A N/A N/A self assertRaises IndexError N/A f __getitem__ 100 N/A N/A N/A self assertRaises IndexError N/A f __setitem__ 100 100 N/A test_array_conversion N/A N/A self N/A N/A N/A Test if Numeric/VTK array conversion works. N/A data N/A N/A numpy array N/A N/A 0 0 0 10 N/A 1 0 0 20 N/A 0 1 0 20 N/A 0 0 1 30 f N/A triangles N/A N/A numpy array N/A N/A 0 1 3 N/A 0 3 2 N/A 1 2 3 N/A 0 2 1 N/A points N/A data N/A N/A N/A 3 N/A temperature N/A data N/A N/A N/A -1 N/A mesh N/A N/A tvtk PolyData N/A N/A mesh points points N/A N/A mesh polys triangles N/A N/A N/A mesh point_data scalars temperature N/A temp N/A N/A tvtk FloatArray N/A N/A N/A temp from_array temperature N/A N/A N/A mesh point_data scalars temp N/A test_append_poly_data_input N/A N/A self N/A N/A N/A Test if AppendPolyData has its get_input wrapped right. N/A a N/A N/A tvtk AppendPolyData N/A N/A N/A self assertEqual N/A hasattr a get_input True N/A N/A N/A self assertEqual N/A a input None N/A test_property_change_notification N/A N/A self N/A N/A N/A Test if changes to properties generate notification events. Junk N/A N/A f N/A N/A self obj name old new N/A N/A N/A N/A self data N/A obj name old new N/A N/A N/A z N/A Junk N/A cs N/A N/A tvtk ConeSource N/A m N/A N/A tvtk PolyDataMapper N/A N/A vtk_major_version 6 N/A N/A N/A N/A m on_trait_change N/A z f input N/A N/A m input N/A cs output N/A N/A N/A self assertEqual N/A z data N/A m input None N/A cs output N/A N/A m input None N/A N/A N/A self assertEqual N/A z data N/A m input N/A cs output None N/A N/A N/A m on_trait_change N/A z f input remove True N/A N/A m input N/A cs output N/A N/A N/A N/A m on_trait_change N/A z f input_connection N/A N/A m input_connection N/A cs output_port N/A N/A N/A self assertEqual N/A z data N/A m input_connection None N/A cs output_port N/A N/A m input_connection None N/A N/A N/A self assertEqual N/A z data N/A m input_connection N/A cs output_port None N/A N/A N/A m on_trait_change N/A z f input_connection remove True N/A N/A m input_connection N/A cs output_port N/A a N/A N/A tvtk Actor N/A N/A N/A a on_trait_change N/A z f mapper N/A N/A N/A a on_trait_change N/A z f property N/A N/A a mapper m N/A N/A N/A self assertEqual N/A z data N/A a mapper None m N/A old N/A a property N/A new N/A N/A tvtk Property N/A N/A a property new N/A N/A N/A self assertEqual N/A z data N/A a property old new N/A a N/A N/A tvtk AppendPolyData N/A pd N/A N/A tvtk PolyData N/A N/A vtk_major_version 6 N/A N/A N/A N/A a on_trait_change N/A z f input N/A N/A N/A a add_input pd N/A N/A old new N/A None pd N/A N/A N/A self assertEqual N/A z data N/A a input old new N/A N/A N/A a remove_input pd N/A N/A old new N/A pd None N/A N/A N/A self assertEqual N/A z data N/A a input old new N/A N/A N/A a remove_all_inputs N/A N/A old new N/A None None N/A N/A N/A self assertEqual N/A z data N/A a input old new N/A N/A N/A N/A a add_input_data pd N/A N/A N/A self assertEqual N/A a input pd N/A N/A N/A a remove_input_data pd N/A N/A N/A self assertEqual N/A a input None N/A N/A N/A a remove_all_inputs N/A N/A N/A self assertEqual N/A a input None N/A test_tuple_array_handling N/A N/A self N/A N/A N/A Test if methods can take any sequence rather than only tuples. N/A sg N/A N/A tvtk StructuredGridGeometryFilter N/A N/A sg extent N/A 0 -1 0 -1 0 -1 N/A test_information_keys N/A N/A self N/A N/A N/A Test if vtk information objects can be created. N/A s N/A N/A tvtk StructuredPoints N/A x N/A N/A s FIELD_ARRAY_TYPE N/A y N/A N/A tvtk Information N/A N/A N/A x get y N/A test_parent_child_bounds N/A N/A self N/A N/A N/A CubeAxesActor2D's bounds should be writable. N/A c N/A N/A tvtk CubeAxesActor2D N/A N/A c bounds N/A 0 1 0 1 0 1 N/A test_parent_child_input N/A N/A self N/A N/A N/A Case where parent has GetInput and child SetInput. N/A N/A N/A N/A vtk_major_version 6 N/A vtk_minor_version 1 N/A vtk_major_version 7 N/A N/A vm N/A N/A tvtk SmartVolumeMapper N/A N/A vm N/A N/A tvtk VolumeTextureMapper2D N/A N/A configure_input_data vm N/A N/A tvtk ImageData N/A spw N/A N/A tvtk StructuredPointsWriter N/A N/A vtk_major_version 6 N/A N/A N/A spw input None N/A N/A N/A spw input_connection None N/A test_image_data_scalar_type N/A N/A self N/A N/A N/A Does ImageData support all scalar types?.
         N/A img N/A N/A tvtk ImageData N/A i N/A range 0 22 N/A N/A N/A img scalar_type i N/A N/A N/A unittest skipIf N/A vtk_major_version 6 Setting scalar type is no longer supported on VTK 6 test_null_string_wrapper N/A N/A self N/A N/A N/A Check if a null string default is wrapped as a String trait. N/A cap N/A N/A tvtk CaptionActor2D N/A N/A N/A self assertEqual N/A N/A caption GetCaption N/A cap _updateable_traits_ True N/A N/A N/A self assertEqual N/A caption N/A cap _full_traitnames_list_ True N/A N/A TestTVTKModule N/A N/A unittest TestCase N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A tvtk_helper _cache clear N/A N/A N/A N/A vtk vtkObject GlobalWarningDisplayOn N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A vtk vtkObject GlobalWarningDisplayOff N/A N/A self names N/A name N/A name N/A dir vtk N/A N/A N/A name startswith vtk N/A N/A N/A name startswith vtkQt N/A N/A len name 3 N/A test_all_instantiable N/A N/A self N/A N/A N/A Test if all the TVTK classes can be instantiated N/A errors N/A N/A name N/A self names N/A N/A klass N/A getattr vtk name N/A tvtk_name N/A get_tvtk_name name N/A tvtk_klass N/A getattr tvtk tvtk_name None N/A N/A N/A hasattr klass __bases__ N/A tvtk_klass None N/A N/A N/A N/A N/A klass N/A N/A N/A N/A TypeError NotImplementedError N/A N/A N/A N/A N/A N/A N/A tvtk_klass N/A N/A N/A TraitError N/A N/A N/A N/A errors append N/A N/A traceback format_exc N/A N/A N/A len errors 0 N/A N/A message Not all classes could be instantiated:
{0}
 N/A N/A AssertionError N/A N/A message format N/A N/A join errors N/A test_import_tvtk_does_not_import_gui N/A N/A self N/A N/A subprocess check_output STDOUT N/A output N/A check_output N/A N/A sys executable -v -c from tvtk.api import tvtk; p = tvtk.Property() stderr STDOUT N/A output N/A N/A output decode ascii N/A N/A N/A self assertFalse N/A QtCore output N/A N/A N/A self assertFalse N/A wx output N/A test_unicode_traits N/A N/A self N/A N/A N/A reader N/A N/A tvtk DelimitedTextReader N/A N/A N/A self assertIsInstance N/A reader unicode_record_delimiters unicode N/A N/A N/A self assertIsInstance N/A reader unicode_string_delimiters unicode N/A N/A N/A self assertIsInstance N/A reader unicode_field_delimiters unicode N/A N/A N/A unittest skipIf N/A PY_VER 2 Irrelevant for python 3 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main