Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad ListLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return NameLoad orelse Raise Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Num body Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad TryFinally body If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Str finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A Misc cPickle tests.

Made for Jython.
 N/A __builtin__ N/A sys N/A cPickle N/A pickle N/A unittest StringIO StringIO test test_support MyClass N/A object N/A N/A N/A CPickleTestCase N/A N/A unittest TestCase N/A test_zero_long N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A cPickle loads N/A N/A cPickle dumps 0 2 0 N/A N/A N/A self assertEqual N/A N/A cPickle dumps 0 2 N/A N/A pickle dumps 0 2 N/A test_cyclic_memoize N/A N/A self N/A N/A N/A m N/A MyClass N/A m2 N/A MyClass N/A s N/A set N/A m N/A N/A m foo N/A set N/A m2 N/A N/A m2 foo s N/A s2 N/A N/A cPickle loads N/A N/A cPickle dumps s N/A N/A N/A self assertEqual N/A len s2 1 N/A m3 N/A N/A N/A iter s2 next N/A N/A N/A self assertEqual N/A len N/A m3 foo 1 N/A m4 N/A N/A N/A iter N/A m3 foo next N/A N/A N/A self assertEqual N/A m4 foo s2 N/A test_find_global N/A N/A self N/A N/A A N/A object N/A __init__ N/A N/A self x y N/A N/A N/A N/A self x x N/A N/A self y y N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other A N/A N/A self x N/A other x N/A N/A self y N/A other y N/A N/A True N/A False N/A N/A B N/A object N/A __init__ N/A N/A self x y N/A N/A N/A N/A self x x N/A N/A self y y N/A N/A restrictive_find_global N/A N/A module clsname N/A N/A N/A N/A clsname A N/A N/A A N/A N/A N/A N/A pickle UnpicklingError Cannot load class module clsname N/A N/A a N/A A python C N/A a_pickled N/A N/A cPickle dumps a 2 N/A a_unpickler N/A N/A cPickle Unpickler N/A StringIO a_pickled N/A N/A a_unpickler find_global restrictive_find_global N/A N/A N/A self assertEqual N/A N/A a_unpickler load a N/A b_pickled N/A N/A cPickle dumps N/A B jython java 2 N/A b_unpickler N/A N/A cPickle Unpickler N/A StringIO b_pickled N/A N/A b_unpickler find_global restrictive_find_global N/A N/A N/A self assertRaises N/A pickle UnpicklingError N/A b_unpickler load N/A testWithUserDefinedImport N/A N/A self N/A N/A N/A test cPickle calling a user defined import function. N/A original_import N/A __builtin__ __import__ import_hook N/A N/A name _globals locals fromlist level N/A None None None -1 N/A N/A N/A original_import name _globals locals fromlist level N/A N/A N/A __builtin__ __import__ import_hook N/A N/A N/A N/A no_such_module N/A sys modules N/A N/A N/A N/A sys modules N/A no_such_module N/A N/A N/A self assertRaises ImportError N/A cPickle loads N/A N/A N/A pickle GLOBAL no_such_module
 no_such_class
 N/A N/A N/A __builtin__ __import__ original_import N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A test_support run_unittest CPickleTestCase N/A N/A N/A __name__ __main__ N/A N/A N/A test_main