Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Import alias Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Import alias Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Import alias Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A __future__ print_function N/A unittest N/A sys N/A wrapt wrapt.importer _post_import_hooks TestPostImportHooks N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestPostImportHooks self setUp N/A N/A this N/A sys modules N/A N/A N/A N/A sys modules N/A this N/A N/A this _post_import_hooks N/A N/A N/A _post_import_hooks N/A this N/A test_before_import N/A N/A self N/A N/A N/A invoked N/A hook_this N/A N/A module N/A N/A N/A N/A N/A self assertEqual N/A module __name__ this N/A N/A N/A invoked append 1 N/A N/A N/A wrapt when_imported this N/A N/A N/A self assertEqual N/A len invoked 0 N/A this N/A N/A N/A self assertEqual N/A len invoked 1 N/A test_after_import N/A N/A self N/A N/A N/A invoked N/A N/A this N/A N/A N/A self assertEqual N/A len invoked 0 hook_this N/A N/A module N/A N/A N/A N/A N/A self assertEqual N/A module __name__ this N/A N/A N/A invoked append 1 N/A N/A N/A wrapt when_imported this N/A N/A N/A self assertEqual N/A len invoked 1 N/A test_before_and_after_import N/A N/A self N/A N/A N/A invoked_one N/A N/A invoked_two N/A hook_this_one N/A N/A module N/A N/A N/A N/A N/A self assertEqual N/A module __name__ this N/A N/A N/A invoked_one append 1 N/A N/A N/A wrapt when_imported this N/A N/A N/A self assertEqual N/A len invoked_one 0 N/A N/A N/A self assertEqual N/A len invoked_two 0 N/A this N/A N/A N/A self assertEqual N/A len invoked_one 1 N/A N/A N/A self assertEqual N/A len invoked_two 0 hook_this_two N/A N/A module N/A N/A N/A N/A N/A self assertEqual N/A module __name__ this N/A N/A N/A invoked_two append 1 N/A N/A N/A wrapt when_imported this N/A N/A N/A self assertEqual N/A len invoked_one 1 N/A N/A N/A self assertEqual N/A len invoked_two 1 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main