Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num Num body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad For NameStore Call NameLoad Num body Assign NameStore BinOpSub BinOpPow Num NameLoad Num If CompareEq NameLoad Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad Call NameLoad UnaryOpUSub NameLoad Expr Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad Call NameLoad UnaryOpUSub NameLoad Assign NameStore BinOpPow Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad Call NameLoad UnaryOpUSub NameLoad Expr Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad Call NameLoad UnaryOpUSub NameLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr UnaryOpUSub BinOpPow Num NameLoad BinOpPow Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If CompareEq NameLoad Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str For NameStore Call NameLoad Num body Assign NameStore BinOpMult Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub BinOpMult Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num Num Num Call NameLoad Str Call NameLoad Str For NameStore TupleLoad Num Num body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num BinOpMult Num NameLoad UnaryOpUSub NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad BinOpMult Num NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad UnaryOpUSub NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body FunctionDef arguments args NameParam defaults body Return Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq NameLoad Str decorator_list decorator_list Assign NameStore Set Str Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call NameLoad Str Call NameLoad Str Num Call NameLoad Num Num Num Num Num Num NameLoad Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Num Num Call NameLoad Str Call NameLoad Num Num Call NameLoad Num Num Num Call NameLoad Str For TupleStore NameStore NameStore Call NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Num Num Assign NameStore BinOpAdd Num Num For NameStore TupleLoad Num Num Call NameLoad Num Call NameLoad Num Call NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore TupleLoad Num Num Call NameLoad Num Call NameLoad Num Call NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore TupleLoad Num Num Call NameLoad Num Call NameLoad Num Call NameLoad Num Num Num Call NameLoad Num Call NameLoad Num Call NameLoad Num NameLoad body For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A unittest N/A random N/A math N/A sys N/A operator test.support run_unittest decimal Decimal D fractions Fraction F N/A _PyHASH_MODULUS N/A N/A sys hash_info modulus N/A _PyHASH_INF N/A N/A sys hash_info inf HashTest N/A N/A unittest TestCase N/A check_equal_hash N/A N/A self x y N/A N/A N/A N/A N/A self assertEqual N/A hash x N/A hash y N/A N/A got different hashes for {!r} and {!r} format x y N/A N/A N/A self assertEqual x y N/A test_bools N/A N/A self N/A N/A N/A N/A N/A self check_equal_hash False 0 N/A N/A N/A self check_equal_hash True 1 N/A test_integers N/A N/A self N/A N/A N/A i N/A range -1000 1000 N/A N/A N/A N/A self check_equal_hash i N/A float i N/A N/A N/A self check_equal_hash i N/A D i N/A N/A N/A self check_equal_hash i N/A F i N/A i N/A range 100 N/A N/A n N/A N/A 2 i 1 N/A N/A n N/A int N/A float n N/A N/A N/A N/A self check_equal_hash n N/A float n N/A N/A N/A self check_equal_hash N/A n N/A N/A float n N/A N/A N/A self check_equal_hash n N/A D n N/A N/A N/A self check_equal_hash n N/A F n N/A N/A N/A self check_equal_hash N/A n N/A D N/A n N/A N/A N/A self check_equal_hash N/A n N/A F N/A n N/A n N/A 2 i N/A N/A N/A self check_equal_hash n N/A float n N/A N/A N/A self check_equal_hash N/A n N/A N/A float n N/A N/A N/A self check_equal_hash n N/A D n N/A N/A N/A self check_equal_hash n N/A F n N/A N/A N/A self check_equal_hash N/A n N/A D N/A n N/A N/A N/A self check_equal_hash N/A n N/A F N/A n N/A _ N/A range 1000 N/A N/A e N/A N/A random randrange 300 N/A n N/A N/A random randrange N/A N/A 10 e N/A 10 e N/A N/A N/A self check_equal_hash n N/A D n N/A N/A N/A self check_equal_hash n N/A F n N/A N/A n N/A int N/A float n N/A N/A N/A N/A self check_equal_hash n N/A float n N/A test_binary_floats N/A N/A self N/A N/A N/A N/A N/A self check_equal_hash 0.0 -0.0 N/A N/A N/A self check_equal_hash 0.0 N/A D 0 N/A N/A N/A self check_equal_hash -0.0 N/A D 0 N/A N/A N/A self check_equal_hash -0.0 N/A D -0.0 N/A N/A N/A self check_equal_hash 0.0 N/A F 0 N/A N/A N/A self check_equal_hash N/A float inf N/A D inf N/A N/A N/A self check_equal_hash N/A float -inf N/A D -inf N/A _ N/A range 1000 N/A N/A x N/A N/A N/A random random N/A N/A math exp N/A N/A N/A N/A random random 200.0 100.0 N/A N/A N/A self check_equal_hash x N/A N/A D from_float x N/A N/A N/A self check_equal_hash x N/A N/A F from_float x N/A test_complex N/A N/A self N/A N/A N/A test_values N/A 0.0 -0.0 1.0 -1.0 0.40625 -5136.5 N/A float inf N/A float -inf N/A zero N/A -0.0 0.0 N/A N/A value test_values N/A N/A N/A N/A self check_equal_hash value N/A complex value zero N/A test_decimals N/A N/A self N/A N/A N/A zeros N/A 0 -0 0.0 -0.0e10 000e-10 N/A zero zeros N/A N/A N/A N/A self check_equal_hash N/A D zero N/A D 0 N/A N/A N/A self check_equal_hash N/A D 1.00 N/A D 1 N/A N/A N/A self check_equal_hash N/A D 1.00000 N/A D 1 N/A N/A N/A self check_equal_hash N/A D -1.00 N/A D -1 N/A N/A N/A self check_equal_hash N/A D -1.00000 N/A D -1 N/A N/A N/A self check_equal_hash N/A D 123e2 N/A D 12300 N/A N/A N/A self check_equal_hash N/A D 1230e1 N/A D 12300 N/A N/A N/A self check_equal_hash N/A D 12300 N/A D 12300 N/A N/A N/A self check_equal_hash N/A D 12300.0 N/A D 12300 N/A N/A N/A self check_equal_hash N/A D 12300.00 N/A D 12300 N/A N/A N/A self check_equal_hash N/A D 12300.000 N/A D 12300 N/A test_fractions N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A hash N/A F 1 _PyHASH_MODULUS _PyHASH_INF N/A N/A N/A self assertEqual N/A hash N/A F -1 N/A 3 _PyHASH_MODULUS N/A _PyHASH_INF N/A N/A N/A self assertEqual N/A hash N/A F N/A 7 _PyHASH_MODULUS 1 0 N/A N/A N/A self assertEqual N/A hash N/A F N/A _PyHASH_MODULUS 1 0 N/A test_hash_normalization N/A N/A self N/A N/A HalibutProxy N/A N/A __hash__ N/A N/A self N/A N/A N/A N/A hash halibut N/A __eq__ N/A N/A self other N/A N/A N/A N/A other halibut N/A N/A N/A x N/A halibut N/A HalibutProxy N/A N/A N/A self assertEqual N/A len x 1 N/A N/A ComparisonTest N/A N/A unittest TestCase N/A test_mixed_comparisons N/A N/A self N/A N/A N/A test_values N/A N/A float -inf N/A D -1e425000000 -1e+308 N/A F -22 7 -3.14 -2 0.0 9.99988867183e-321 True N/A F 1.2 N/A D 1.3 N/A float 1.4 N/A F 275807 195025 N/A D 1.414213562373095048801688724 N/A F 114243 80782 N/A F 473596569 84615 7e+200 N/A D infinity N/A N/A i first N/A enumerate test_values N/A N/A second N/A test_values N/A N/A i 1 N/A N/A N/A N/A self assertLess first second N/A N/A N/A self assertLessEqual first second N/A N/A N/A self assertGreater second first N/A N/A N/A self assertGreaterEqual second first N/A test_complex N/A N/A self N/A N/A N/A z N/A 1.0 0j N/A w N/A -3.14 2.7j N/A v N/A 1 1.0 N/A F 1 N/A D 1 N/A complex 1 N/A N/A N/A N/A self assertEqual z v N/A N/A N/A self assertEqual v z N/A v N/A 2 2.0 N/A F 2 N/A D 2 N/A complex 2 N/A N/A N/A N/A self assertNotEqual z v N/A N/A N/A self assertNotEqual v z N/A N/A N/A self assertNotEqual w v N/A N/A N/A self assertNotEqual v w N/A v N/A 1 1.0 N/A F 1 N/A D 1 N/A complex 1 2 2.0 N/A F 2 N/A D 2 N/A complex 2 w N/A N/A op N/A N/A operator le N/A operator lt N/A operator ge N/A operator gt N/A N/A N/A N/A self assertRaises TypeError op z v N/A N/A N/A self assertRaises TypeError op v z N/A N/A test_main N/A N/A N/A N/A N/A N/A run_unittest HashTest ComparisonTest N/A N/A N/A __name__ __main__ N/A N/A N/A test_main