Module Import alias Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad BinOpAdd NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args defaults vararg kwarg body Expr Str Return TupleLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num keyword Num keyword Num TupleLoad TupleLoad Num Num Num Num Call NameLoad keyword Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam defaults BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Num Num ListLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Call NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TryExcept body Expr Call Call AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults Num Num body Return NameLoad decorator_list Assign NameStore Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Num Expr Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad TupleLoad Dict Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num TupleLoad TupleLoad Num Num Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad TupleLoad Num Num Dict Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num TupleLoad TupleLoad Num Num Num Num Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad TupleLoad Dict Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Num TupleLoad TupleLoad Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad TupleLoad Dict Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Num TupleLoad TupleLoad Dict Str Str Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num TupleLoad TupleLoad Dict Str Str Num Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore ListLoad TupleLoad TupleLoad Num TupleLoad Num Num TupleLoad Num Num Num TupleLoad Num Num Num Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpAdd NameLoad TupleLoad Str Assign TupleStore NameStore NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BoolOpAnd CompareEq NameLoad NameLoad CompareEq NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body For NameStore ListLoad Str Num NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BoolOpAnd CompareEq NameLoad NameLoad CompareEq NameLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num keyword Num Assign TupleStore NameStore NameStore Call NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr BoolOpAnd CompareEq NameLoad TupleLoad Num Num CompareEq NameLoad Dict Str Str Num Num Assign TupleStore NameStore NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr BoolOpAnd CompareEq NameLoad TupleLoad Num CompareEq NameLoad Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr BinOpDiv NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Delete AttributeDel NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body ImportFrom alias Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad Str attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr CompareIs SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Str Pass decorator_list Assign AttributeStore NameLoad attr Str FunctionDef arguments args defaults body Pass decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Str Pass decorator_list Assign AttributeStore NameLoad attr Str FunctionDef arguments args defaults body Pass decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad TupleLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad TupleLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Pass decorator_list Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword Num keyword Num keyword Num FunctionDef arguments args defaults body Pass decorator_list Assign AttributeStore NameLoad attr Dict Assign NameStore TupleLoad Str Assign NameStore TupleLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Str Pass decorator_list Assign AttributeStore NameLoad attr Str FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Str Pass decorator_list Assign AttributeStore NameLoad attr Str FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad TupleLoad TupleLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad TupleLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Pass decorator_list Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword Num keyword Num keyword Num FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Return NameLoad decorator_list Assign NameStore TupleLoad Str Assign NameStore TupleLoad Str FunctionDef arguments args defaults body Pass decorator_list Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body Import alias Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad Str body Import alias Assign NameStore BinOpMult ListLoad NameLoad Num For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Print NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad keyword NameLoad
N/A N/A functools N/A unittest test test_support weakref proxy PythonPartial N/A N/A func N/A args keywords N/A N/A Pure Python approximation of partial() newfunc N/A N/A N/A fargs fkeywords N/A N/A newkeywords N/A N/A keywords copy N/A N/A N/A newkeywords update fkeywords N/A N/A func N/A args fargs newkeywords N/A N/A N/A newfunc func func N/A N/A newfunc args args N/A N/A newfunc keywords keywords N/A newfunc N/A staticmethod capture N/A N/A N/A args kw N/A N/A capture all positional and keyword arguments N/A N/A args kw N/A TestPartial N/A N/A unittest TestCase N/A N/A thetype N/A functools partial test_basic_examples N/A N/A self N/A N/A N/A p N/A N/A self thetype capture 1 2 a 10 b 20 N/A N/A N/A self assertEqual N/A p 3 4 b 30 c 40 N/A N/A 1 2 3 4 N/A dict a 10 b 30 c 40 N/A p N/A N/A self thetype map N/A N/A N/A x N/A N/A x 10 N/A N/A N/A self assertEqual N/A p N/A 1 2 3 4 N/A 10 20 30 40 N/A test_attributes N/A N/A self N/A N/A N/A p N/A N/A self thetype capture 1 2 a 10 b 20 N/A N/A N/A self assertEqual N/A p func capture N/A N/A N/A self assertEqual N/A p args N/A 1 2 N/A N/A N/A self assertEqual N/A p keywords N/A dict a 10 b 20 N/A N/A N/A isinstance N/A self thetype type N/A N/A N/A N/A N/A self assertRaises TypeError setattr p func map N/A N/A N/A self assertRaises TypeError setattr p args N/A 1 2 N/A N/A N/A self assertRaises TypeError setattr p keywords N/A dict a 1 b 2 N/A test_argument_checking N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A self thetype N/A N/A N/A N/A N/A N/A self thetype 2 N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A self fail First arg not checked for callability N/A test_protection_of_callers_dict_argument N/A N/A self N/A N/A func N/A N/A a b N/A 10 20 N/A N/A a N/A N/A d N/A a 3 N/A p N/A N/A self thetype func a 5 N/A N/A N/A self assertEqual N/A p d 3 N/A N/A N/A self assertEqual d N/A a 3 N/A N/A p b 7 N/A N/A N/A self assertEqual d N/A a 3 N/A test_arg_combinations N/A N/A self N/A N/A N/A p N/A N/A self thetype capture N/A N/A N/A self assertEqual N/A p N/A N/A N/A N/A N/A N/A self assertEqual N/A p 1 2 N/A N/A 1 2 N/A N/A p N/A N/A self thetype capture 1 2 N/A N/A N/A self assertEqual N/A p N/A N/A 1 2 N/A N/A N/A N/A self assertEqual N/A p 3 4 N/A N/A 1 2 3 4 N/A N/A test_kw_combinations N/A N/A self N/A N/A N/A p N/A N/A self thetype capture N/A N/A N/A self assertEqual N/A p N/A N/A N/A N/A N/A N/A self assertEqual N/A p a 1 N/A N/A N/A a 1 N/A p N/A N/A self thetype capture a 1 N/A N/A N/A self assertEqual N/A p N/A N/A N/A a 1 N/A N/A N/A self assertEqual N/A p b 2 N/A N/A N/A a b 1 2 N/A N/A N/A self assertEqual N/A p a 3 b 2 N/A N/A N/A a b 3 2 N/A test_positional N/A N/A self N/A N/A N/A args N/A N/A N/A 0 N/A 0 1 N/A 0 1 2 N/A 0 1 2 3 N/A N/A p N/A N/A self thetype capture args N/A expected N/A args N/A x N/A N/A got empty N/A p x N/A N/A N/A self failUnless N/A N/A expected got N/A empty N/A N/A test_keyword N/A N/A self N/A N/A N/A a N/A a 0 None 3.5 N/A N/A p N/A N/A self thetype capture a a N/A expected N/A a x a None N/A N/A empty got N/A p x None N/A N/A N/A self failUnless N/A N/A expected got N/A empty N/A N/A test_no_side_effects N/A N/A self N/A N/A N/A p N/A N/A self thetype capture 0 a 1 N/A N/A args1 kw1 N/A p 1 b 2 N/A N/A N/A self failUnless N/A N/A args1 N/A 0 1 N/A kw1 N/A a b 1 2 N/A N/A args2 kw2 N/A p N/A N/A N/A self failUnless N/A N/A args2 N/A 0 N/A kw2 N/A a 1 N/A test_error_propagation N/A N/A self N/A N/A f N/A N/A x y N/A N/A N/A N/A x y N/A N/A N/A N/A self assertRaises ZeroDivisionError N/A N/A self thetype f 1 0 N/A N/A N/A self assertRaises ZeroDivisionError N/A N/A self thetype f 1 0 N/A N/A N/A self assertRaises ZeroDivisionError N/A N/A self thetype f 1 0 N/A N/A N/A self assertRaises ZeroDivisionError N/A N/A self thetype f y 0 1 N/A test_attributes N/A N/A self N/A N/A N/A p N/A N/A self thetype hex N/A N/A N/A N/A p __dict__ N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A self fail partial object allowed __dict__ to be deleted N/A N/A N/A unittest skip FIXME: Not working in Jython. test_weakref N/A N/A self N/A N/A N/A f N/A N/A self thetype int base 16 N/A p N/A proxy f N/A N/A N/A self assertEqual N/A f func N/A p func N/A f None N/A N/A test_support is_jython N/A test_weakref extra_collect N/A N/A extra_collect N/A N/A N/A self assertRaises ReferenceError getattr p func N/A test_with_bound_and_unbound_methods N/A N/A self N/A N/A N/A data N/A map str N/A range 10 N/A join N/A N/A self thetype N/A str join N/A N/A N/A self assertEqual N/A join data 0123456789 N/A join N/A N/A self thetype N/A join N/A N/A N/A self assertEqual N/A join data 0123456789 N/A N/A PartialSubclass N/A N/A functools partial N/A N/A N/A TestPartialSubclass N/A TestPartial N/A N/A thetype PartialSubclass N/A TestPythonPartial N/A TestPartial N/A N/A thetype PythonPartial N/A TestUpdateWrapper N/A N/A unittest TestCase N/A check_wrapper N/A N/A self wrapper wrapped assigned updated N/A N/A functools WRAPPER_ASSIGNMENTS N/A functools WRAPPER_UPDATES N/A N/A name assigned N/A N/A N/A N/A self failUnless N/A N/A getattr wrapper name N/A getattr wrapped name N/A name updated N/A N/A wrapper_attr N/A getattr wrapper name N/A wrapped_attr N/A getattr wrapped name N/A key wrapped_attr N/A N/A N/A N/A self failUnless N/A N/A wrapped_attr N/A key N/A wrapper_attr N/A key N/A test_default_update N/A N/A self N/A N/A f N/A N/A N/A N/A N/A This is a test N/A N/A N/A N/A f attr This is also a test wrapper N/A N/A N/A N/A N/A N/A N/A N/A N/A functools update_wrapper wrapper f N/A N/A N/A self check_wrapper wrapper f N/A N/A N/A self assertEqual N/A wrapper __name__ f N/A N/A N/A self assertEqual N/A wrapper __doc__ This is a test N/A N/A N/A self assertEqual N/A wrapper attr This is also a test N/A test_no_update N/A N/A self N/A N/A f N/A N/A N/A N/A N/A This is a test N/A N/A N/A N/A f attr This is also a test wrapper N/A N/A N/A N/A N/A N/A N/A N/A N/A functools update_wrapper wrapper f N/A N/A N/A N/A N/A self check_wrapper wrapper f N/A N/A N/A N/A N/A self assertEqual N/A wrapper __name__ wrapper N/A N/A N/A self assertEqual N/A wrapper __doc__ None N/A N/A N/A self failIf N/A hasattr wrapper attr N/A test_selective_update N/A N/A self N/A N/A f N/A N/A N/A N/A N/A N/A N/A N/A f attr This is a different test N/A N/A f dict_attr N/A dict a 1 b 2 c 3 wrapper N/A N/A N/A N/A N/A N/A N/A N/A wrapper dict_attr N/A N/A assign N/A attr N/A update N/A dict_attr N/A N/A N/A functools update_wrapper wrapper f assign update N/A N/A N/A self check_wrapper wrapper f assign update N/A N/A N/A self assertEqual N/A wrapper __name__ wrapper N/A N/A N/A self assertEqual N/A wrapper __doc__ None N/A N/A N/A self assertEqual N/A wrapper attr This is a different test N/A N/A N/A self assertEqual N/A wrapper dict_attr N/A f dict_attr N/A N/A TestWraps N/A TestUpdateWrapper N/A test_default_update N/A N/A self N/A N/A f N/A N/A N/A N/A N/A This is a test N/A N/A N/A N/A f attr This is also a test wrapper N/A N/A N/A N/A N/A N/A N/A N/A functools wraps f N/A N/A N/A self check_wrapper wrapper f N/A N/A N/A self assertEqual N/A wrapper __name__ f N/A N/A N/A self assertEqual N/A wrapper __doc__ This is a test N/A N/A N/A self assertEqual N/A wrapper attr This is also a test N/A test_no_update N/A N/A self N/A N/A f N/A N/A N/A N/A N/A This is a test N/A N/A N/A N/A f attr This is also a test wrapper N/A N/A N/A N/A N/A N/A N/A N/A functools wraps f N/A N/A N/A N/A N/A self check_wrapper wrapper f N/A N/A N/A N/A N/A self assertEqual N/A wrapper __name__ wrapper N/A N/A N/A self assertEqual N/A wrapper __doc__ None N/A N/A N/A self failIf N/A hasattr wrapper attr N/A test_selective_update N/A N/A self N/A N/A f N/A N/A N/A N/A N/A N/A N/A N/A f attr This is a different test N/A N/A f dict_attr N/A dict a 1 b 2 c 3 add_dict_attr N/A N/A f N/A N/A N/A N/A f dict_attr N/A N/A f N/A N/A assign N/A attr N/A update N/A dict_attr wrapper N/A N/A N/A N/A N/A N/A N/A N/A functools wraps f assign update add_dict_attr N/A N/A N/A self check_wrapper wrapper f assign update N/A N/A N/A self assertEqual N/A wrapper __name__ wrapper N/A N/A N/A self assertEqual N/A wrapper __doc__ None N/A N/A N/A self assertEqual N/A wrapper attr This is a different test N/A N/A N/A self assertEqual N/A wrapper dict_attr N/A f dict_attr N/A N/A test_main N/A N/A verbose N/A None N/A N/A sys N/A test_classes N/A TestPartial TestPartialSubclass TestPythonPartial TestUpdateWrapper TestWraps N/A N/A N/A test_support run_unittest test_classes N/A N/A verbose N/A hasattr sys gettotalrefcount N/A N/A gc N/A counts N/A N/A None 5 N/A i N/A xrange N/A len counts N/A N/A N/A N/A test_support run_unittest test_classes N/A N/A N/A gc collect N/A N/A counts N/A i N/A N/A sys gettotalrefcount N/A counts N/A N/A N/A __name__ __main__ N/A N/A N/A test_main verbose True