Module Expr Str Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Assign NameStore BinOpBitOr NameLoad Call NameLoad Str Assert CompareIs Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad NameLoad Call NameLoad Str Call NameLoad Str Assert CompareNotEq Call NameLoad Str Str Expr Call NameLoad NameLoad Str Assert UnaryOpNot CompareLt Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareLtE Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareLt Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareGtE Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareGt Call NameLoad Str Call NameLoad Str Assert CompareLtE Call NameLoad Str Call NameLoad Str Assert CompareGtE Call NameLoad Str Call NameLoad Str Assert CompareLtE Call NameLoad Str Call NameLoad Str Assert CompareGtE Call NameLoad Str Call NameLoad Str Assert CompareLt Call NameLoad Str Call NameLoad Str Assert CompareGt Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareLt Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareGt Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareEq Call NameLoad Num Assert CompareNotEq Call NameLoad Num Assert CompareEq Call NameLoad Str Call NameLoad Str Assert CompareEq Call NameLoad Str Call NameLoad Str Assert CompareEq Call NameLoad Str Call NameLoad Str Assert CompareEq Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareNotEq Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareNotEq Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareNotEq Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareNotEq Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareEq Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareEq Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareEq Call NameLoad Str Call NameLoad Str Assert UnaryOpNot CompareEq Call NameLoad Str Call NameLoad Str Assert CompareNotEq Call NameLoad Str Call NameLoad Str Assert CompareNotEq Call NameLoad Str Call NameLoad Str Assert CompareNotEq Call NameLoad Str Call NameLoad Str Assert CompareNotEq Call NameLoad Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore ListLoad NameLoad NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Call NameLoad NameLoad Assert NameLoad Call NameLoad NameLoad Assert UnaryOpNot CompareEq NameLoad NameLoad Assert CompareNotEq NameLoad Call NameLoad NameLoad Assert CompareNotEq NameLoad Call NameLoad NameLoad Assert CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareIsNot NameLoad NameLoad Assert CompareEq NameLoad NameLoad Assert CompareIs Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareIs NameLoad NameLoad Assert CompareEq NameLoad NameLoad ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareIsNot NameLoad NameLoad Assert CompareEq NameLoad NameLoad Assert CompareIs Call NameLoad NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list Assign NameStore Call NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assert CompareEq NameLoad Call NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assert CompareEq NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num Num attr Str Assert CompareEq NameLoad Call NameLoad ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad ListLoad Num Num Num NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num Num attr Str Assert CompareEq NameLoad Call NameLoad ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad name NameStore body Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num orelse Assert Num Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpBitAnd Call NameLoad NameLoad Num decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad ListLoad NameLoad Print NameLoad Assert CompareIn NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Call NameLoad ListLoad Num Num Assert CompareIn Call NameLoad ListLoad Num Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Call NameLoad ListLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Assert CompareEq Call NameLoad NameLoad Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Call NameLoad ListLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Assert CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad ListLoad Num Num Num Assign NameStore Call NameLoad ListLoad Num Num NameLoad Assert CompareNotIn Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Assert CompareNotIn Call NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Call NameLoad ListLoad Num Num Call NameLoad ListLoad Num Num TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num handlers ExceptHandler type NameLoad name NameStore body Assert Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Assert CompareEq CompareIn NameLoad NameLoad CompareIn NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assert CompareNotIn Str NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assert CompareIn Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assert CompareNotIn Call NameLoad Str NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For NameStore ListLoad Str TupleLoad Num body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assert CompareEq NameLoad NameLoad orelse Assert NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad NameLoad Call NameLoad NameLoad Assert CompareEq Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list
N/A N/A 
The main test for the set implementation is located
at:
    pypy-dist/lib-python/modified-2.5.2/test/test_set.py
    go there and invoke
    ../../../pypy/bin/py.py test_set.py
This file just contains some basic tests that make sure, the implementation
is not too wrong.
 N/A py.test pypy.objspace.std.setobject W_SetObject W_FrozensetObject pypy.objspace.std.setobject _initialize_set pypy.objspace.std.setobject set_intersection__Set_Set pypy.objspace.std.setobject set_intersection__Set_ANY pypy.objspace.std.setobject eq__Set_Set N/A letters abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ W_SubSetObject N/A W_SetObject N/A N/A N/A TestW_SetObject N/A N/A setup_method N/A N/A self method N/A N/A N/A N/A self word N/A N/A N/A self space wrap simsalabim N/A N/A self otherword N/A N/A N/A self space wrap madagascar N/A N/A self letters N/A N/A N/A self space wrap letters N/A N/A self true N/A N/A self space w_True N/A N/A self false N/A N/A self space w_False N/A test_and N/A N/A self N/A N/A N/A s N/A W_SetObject N/A self space None N/A N/A _initialize_set N/A self space s N/A self word N/A t0 N/A W_SetObject N/A self space None N/A N/A _initialize_set N/A self space t0 N/A self otherword N/A t1 N/A W_FrozensetObject N/A self space None N/A N/A _initialize_set N/A self space t1 N/A self otherword N/A r0 N/A set_intersection__Set_Set N/A self space s t0 N/A r1 N/A set_intersection__Set_Set N/A self space s t1 N/A N/A N/A eq__Set_Set N/A self space r0 r1 N/A self true N/A sr N/A set_intersection__Set_ANY N/A self space s N/A self otherword N/A N/A N/A eq__Set_Set N/A self space r0 sr N/A self true N/A test_compare N/A N/A self N/A N/A N/A s N/A W_SetObject N/A self space None N/A N/A _initialize_set N/A self space s N/A self word N/A t N/A W_SetObject N/A self space None N/A N/A _initialize_set N/A self space t N/A self word N/A N/A N/A N/A self space eq_w s t N/A N/A AppTestAppSetTest N/A N/A test_subtype N/A N/A self N/A N/A subset N/A set N/A N/A N/A N/A a N/A subset N/A b N/A a N/A set abc N/A N/A N/A type b subset N/A test_compare N/A N/A self N/A N/A N/A N/A raises TypeError cmp N/A set abc N/A set abd N/A N/A N/A set abc abc N/A N/A raises TypeError set('abc') < 42 N/A N/A N/A N/A set abc N/A set def N/A N/A N/A N/A set abc N/A frozenset abd N/A N/A N/A N/A set abc N/A frozenset abd N/A N/A N/A N/A set abc N/A frozenset abd N/A N/A N/A N/A set abc N/A frozenset abd N/A N/A N/A set abc N/A frozenset abc N/A N/A N/A set abc N/A frozenset abc N/A N/A N/A set abc N/A frozenset abcd N/A N/A N/A set abc N/A frozenset ab N/A N/A N/A set abc N/A frozenset abcd N/A N/A N/A set abc N/A frozenset ab N/A N/A N/A N/A set abc N/A frozenset abc N/A N/A N/A N/A set abc N/A frozenset abc N/A N/A N/A N/A set 42 N/A N/A N/A set 42 N/A N/A N/A set abc N/A frozenset abc N/A N/A N/A set abc N/A set abc N/A N/A N/A frozenset abc N/A frozenset abc N/A N/A N/A frozenset abc N/A set abc N/A N/A N/A N/A set abc N/A frozenset abc N/A N/A N/A N/A set abc N/A set abc N/A N/A N/A N/A frozenset abc N/A frozenset abc N/A N/A N/A N/A frozenset abc N/A set abc N/A N/A N/A N/A set abc N/A frozenset abcd N/A N/A N/A N/A set abc N/A set abcd N/A N/A N/A N/A frozenset abc N/A frozenset abcd N/A N/A N/A N/A frozenset abc N/A set abcd N/A N/A N/A set abc N/A frozenset abcd N/A N/A N/A set abc N/A set abcd N/A N/A N/A frozenset abc N/A frozenset abcd N/A N/A N/A frozenset abc N/A set abcd N/A test_libpython_equality N/A N/A self N/A N/A N/A thetype N/A frozenset set N/A N/A word aaaaaaaaawfpasrtarspawparst N/A otherword ZZZZZZZXCVZXCVSRTD N/A s N/A thetype word N/A N/A s N/A set word N/A s N/A frozenset word N/A N/A N/A s word N/A N/A s N/A set otherword N/A N/A s N/A frozenset otherword N/A N/A s word N/A test_copy N/A N/A self N/A N/A N/A s1 N/A set abc N/A s2 N/A N/A s1 copy N/A N/A s1 s2 N/A N/A s1 s2 N/A N/A N/A type s2 set N/A s1 N/A frozenset abc N/A s2 N/A N/A s1 copy N/A N/A s1 s2 N/A N/A s1 s2 myfrozen N/A frozenset N/A N/A N/A N/A s1 N/A myfrozen abc N/A s2 N/A N/A s1 copy N/A N/A s1 s2 N/A N/A s1 s2 N/A N/A N/A type s2 myfrozen myfrozen N/A frozenset N/A __new__ N/A N/A cls N/A N/A N/A N/A N/A frozenset __new__ cls abc N/A N/A N/A s1 N/A myfrozen N/A N/A raises TypeError N/A s1 copy N/A test_update N/A N/A self N/A N/A N/A s1 N/A set abc N/A N/A N/A s1 update N/A set abcd N/A N/A s1 N/A set abcd N/A s1 N/A set abc N/A N/A N/A s1 update N/A frozenset fro N/A N/A s1 N/A set abcfro N/A test_recursive_repr N/A N/A self N/A N/A A N/A object N/A __init__ N/A N/A self s N/A N/A N/A N/A self s s N/A __repr__ N/A N/A self N/A N/A N/A N/A repr N/A self s N/A N/A N/A s N/A set N/A 1 2 3 N/A N/A N/A s add N/A A s N/A therepr N/A repr s N/A N/A N/A therepr startswith set([ N/A N/A N/A therepr endswith ]) N/A inner N/A set N/A N/A N/A therepr N/A 5 -2 split ,  N/A N/A inner N/A set N/A 1 2 3 set(...) N/A test_recursive_repr_frozenset N/A N/A self N/A N/A A N/A object N/A __repr__ N/A N/A self N/A N/A N/A N/A repr N/A self s N/A N/A N/A a N/A A N/A s N/A frozenset N/A 1 2 3 a N/A N/A a s s N/A therepr N/A repr s N/A N/A N/A therepr startswith frozenset([ N/A N/A N/A therepr endswith ]) N/A inner N/A set N/A N/A N/A therepr N/A 11 -2 split ,  N/A N/A inner N/A set N/A 1 2 3 frozenset(...) N/A test_keyerror_has_key N/A N/A self N/A N/A N/A s N/A set N/A N/A N/A N/A N/A s remove 1 N/A N/A N/A KeyError N/A e N/A N/A N/A N/A N/A e args N/A 0 1 N/A N/A 0 should raise N/A test_subclass_with_hash N/A N/A self N/A N/A H N/A set N/A __hash__ N/A N/A self N/A N/A N/A N/A int N/A N/A id self 2147483647 N/A N/A N/A s N/A H N/A f N/A set N/A s N/A f N/A N/A s f N/A N/A N/A f remove s N/A N/A N/A f add s N/A N/A N/A f discard s N/A test_autoconvert_to_frozen__contains N/A N/A self N/A N/A N/A s N/A set N/A N/A frozenset N/A 1 2 N/A N/A N/A set N/A 1 2 s N/A test_autoconvert_to_frozen_remove N/A N/A self N/A N/A N/A s N/A set N/A N/A frozenset N/A 1 2 N/A N/A N/A s remove N/A set N/A 1 2 N/A N/A N/A len s 0 N/A N/A raises KeyError N/A s remove N/A set N/A 1 2 N/A test_autoconvert_to_frozen_discard N/A N/A self N/A N/A N/A s N/A set N/A N/A frozenset N/A 1 2 N/A N/A N/A s discard N/A set N/A 1 2 N/A N/A N/A len s 0 N/A N/A N/A s discard N/A set N/A 1 2 N/A test_autoconvert_to_frozen_onlyon_type_error N/A N/A self N/A N/A A N/A set N/A __hash__ N/A N/A self N/A N/A N/A N/A id self N/A N/A N/A s N/A A N/A 1 2 3 N/A s2 N/A set N/A 2 3 s N/A N/A N/A A s2 N/A N/A N/A s2 add N/A frozenset N/A N/A N/A A s2 N/A N/A raises KeyError N/A s2 remove N/A A N/A test_autoconvert_key_error N/A N/A self N/A N/A N/A s N/A set N/A N/A frozenset N/A 1 2 N/A frozenset N/A 3 4 N/A N/A N/A N/A N/A s remove N/A set N/A 2 3 N/A N/A N/A KeyError N/A e N/A N/A N/A isinstance N/A N/A e args N/A 0 frozenset N/A N/A N/A N/A e args N/A 0 N/A frozenset N/A 2 3 N/A test_contains N/A N/A self N/A N/A N/A letters abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ N/A word teleledningsanka N/A s N/A set word N/A c letters N/A N/A N/A N/A c s N/A c word N/A N/A raises TypeError N/A s __contains__ N/A N/A test_remove N/A N/A self N/A N/A N/A s N/A set abc N/A N/A N/A s remove a N/A N/A a s N/A N/A raises KeyError N/A s remove a N/A N/A raises TypeError N/A s remove N/A N/A N/A N/A s add N/A frozenset def N/A N/A N/A set def s N/A N/A N/A s remove N/A set def N/A N/A N/A set def s N/A N/A raises KeyError N/A s remove N/A set def N/A test_remove_keyerror_unpacking N/A N/A self N/A N/A N/A s N/A set N/A v1 N/A Q N/A 1 N/A N/A N/A N/A N/A N/A s remove v1 N/A N/A N/A KeyError N/A e N/A N/A v2 N/A N/A e args N/A 0 N/A N/A v1 v2 N/A N/A False Expected KeyError N/A test_singleton_empty_frozenset N/A N/A self N/A N/A Frozenset N/A frozenset N/A N/A N/A N/A f N/A frozenset N/A F N/A Frozenset N/A efs N/A f N/A Frozenset f N/A N/A N/A len N/A set N/A map id efs N/A len efs N/A N/A