Module Expr Str ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias ClassDef bases NameLoad body Assign NameStore Call NameLoad NameLoad Call NameLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad keyword Num keyword Num Assign NameStore Call NameLoad NameLoad Call NameLoad Num Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list Call NameLoad Str decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad NameLoad Assert CompareIs Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad NameLoad Assert CompareIs Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad NameLoad Assert CompareIs Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareIs Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Num Assert CompareIs Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIs Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad decorator_list
N/A N/A  Test the persistence behavior of TraitListObjects, TraitDictObjects and
TraitSetObjects.
 __future__ absolute_import N/A copy cPickle dumps loads has_traits HasTraits on_trait_change trait_types Dict List Set Str Int Instance A N/A HasTraits N/A N/A alist N/A List Int N/A range 5 N/A adict N/A Dict Str Int N/A dict a 1 b 2 N/A aset N/A Set Int N/A range 5 N/A events N/A List _receive_events N/A N/A self object name old new N/A N/A N/A N/A N/A N/A self events append N/A name new N/A N/A on_trait_change alist_items,adict_items,aset_items N/A B N/A HasTraits N/A N/A dict N/A Dict Str N/A Instance A N/A test_trait_list_object_persists N/A N/A N/A N/A N/A a N/A A N/A list N/A loads N/A dumps N/A a alist N/A N/A N/A N/A list object None N/A N/A N/A list append 10 N/A N/A N/A len N/A a events 0 N/A N/A N/A N/A a alist append 20 N/A N/A N/A len N/A a events 1 N/A list2 N/A loads N/A dumps list N/A N/A N/A N/A list2 object None N/A test_trait_dict_object_persists N/A N/A N/A N/A N/A a N/A A N/A dict N/A loads N/A dumps N/A a adict N/A N/A N/A N/A dict object None N/A N/A dict N/A key 10 N/A N/A N/A len N/A a events 0 N/A N/A N/A a adict N/A key 10 N/A N/A N/A len N/A a events 1 N/A dict2 N/A loads N/A dumps dict N/A N/A N/A N/A dict2 object None N/A test_trait_set_object_persists N/A N/A N/A N/A N/A a N/A A N/A set N/A loads N/A dumps N/A a aset N/A N/A N/A N/A set object None N/A N/A N/A set add 10 N/A N/A N/A len N/A a events 0 N/A N/A N/A N/A a aset add 20 N/A N/A N/A len N/A a events 1 N/A set2 N/A loads N/A dumps set N/A N/A N/A N/A set2 object None N/A test_trait_list_object_copies N/A N/A N/A N/A N/A a N/A A N/A list N/A N/A copy deepcopy N/A a alist N/A N/A N/A N/A list object None N/A N/A N/A list append 10 N/A N/A N/A len N/A a events 0 N/A N/A N/A N/A a alist append 20 N/A N/A N/A len N/A a events 1 N/A list2 N/A N/A copy deepcopy list N/A N/A N/A list2 append 30 N/A N/A N/A N/A list2 object None N/A test_trait_dict_object_copies N/A N/A N/A N/A N/A a N/A A N/A dict N/A N/A copy deepcopy N/A a adict N/A N/A N/A N/A dict object None N/A N/A dict N/A key 10 N/A N/A N/A len N/A a events 0 N/A N/A N/A a adict N/A key 10 N/A N/A N/A len N/A a events 1 N/A dict2 N/A N/A copy deepcopy dict N/A N/A dict2 N/A key2 20 N/A N/A N/A N/A dict2 object None N/A test_trait_set_object_copies N/A N/A N/A N/A N/A a N/A A N/A set1 N/A N/A copy deepcopy N/A a aset N/A N/A N/A N/A set1 object None N/A N/A N/A set1 add 10 N/A N/A N/A len N/A a events 0 N/A N/A N/A N/A a aset add 20 N/A N/A N/A len N/A a events 1 N/A set2 N/A N/A copy deepcopy set1 N/A N/A N/A set2 add 30 N/A N/A N/A N/A set2 object None N/A set3 N/A N/A N/A a aset copy N/A N/A N/A type set3 set N/A N/A N/A set3 remove 20 N/A test_pickle_whole N/A N/A N/A N/A N/A a N/A A N/A N/A loads N/A dumps a N/A b N/A B dict N/A dict a a N/A N/A loads N/A dumps b N/A