Module Import alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad NameLoad body For NameStore Call NameLoad Num Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num Num Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num Num Call NameLoad Num For NameStore Call NameLoad Num Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num BinOpMult BinOpMult NameLoad NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad Num Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Num NameLoad NameLoad If CompareNotEq NameLoad Num body Assign NameStore BinOpMult NameLoad Num For NameStore TupleLoad NameLoad NameLoad body For NameStore BinOpAdd Call NameLoad Num Num Call NameLoad Num Num body Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad Num Num body Assign NameStore UnaryOpUSub Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For NameStore TupleLoad NameLoad NameLoad NameLoad body For NameStore Call NameLoad Num Num body Assign NameStore Call NameLoad Num Assign NameStore UnaryOpUSub Call NameLoad BinOpDiv NameLoad Num If CompareEq NameLoad Num body Continue Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Num Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Num orelse If CompareEq NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad Num Num For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num body For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num body For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num body If CompareNotEq NameLoad Num body If BoolOpOr CompareEq NameLoad NameLoad CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Continue Expr Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad NameLoad BinOpMod Call NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Num Num Num Call NameLoad Num Num Num For NameStore Call NameLoad Num Num body For NameStore Call NameLoad Num Num body For NameStore Call NameLoad Num Num body If BoolOpAnd CompareGtE NameLoad Num CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad If BoolOpAnd CompareGtE NameLoad Num CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list Expr BinOpPow NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num Expr Call NameLoad Call NameLoad NameLoad Num Num Expr Call NameLoad Call NameLoad NameLoad Num Num For NameStore Call NameLoad Num Num body Expr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad BoolOpOr BoolOpAnd BinOpBitAnd NameLoad Num Num Num For NameStore Call NameLoad Num Num body Assign NameStore Call NameLoad BinOpPow Num NameLoad Assign NameStore BoolOpOr BoolOpAnd BinOpMod NameLoad Num Num Num Expr Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad UnaryOpUSub NameLoad NameLoad Expr Call NameLoad NameLoad Num decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A test.test_support unittest PowTest N/A N/A unittest TestCase N/A powtest N/A N/A self type N/A N/A N/A N/A type float N/A N/A i N/A range -1000 1000 N/A N/A N/A N/A self assertEquals N/A pow N/A type i 0 1 N/A N/A N/A self assertEquals N/A pow N/A type i 1 N/A type i N/A N/A N/A self assertEquals N/A pow N/A type 0 1 N/A type 0 N/A N/A N/A self assertEquals N/A pow N/A type 1 1 N/A type 1 N/A i N/A range -100 100 N/A N/A N/A N/A self assertEquals N/A pow N/A type i 3 N/A N/A i i i N/A pow2 1 N/A i N/A range 0 31 N/A N/A N/A N/A self assertEquals N/A pow 2 i pow2 N/A N/A i 30 N/A N/A pow2 N/A pow2 2 N/A othertype N/A int long N/A N/A i N/A N/A range -10 0 N/A range 1 10 N/A N/A ii N/A type i N/A j N/A range 1 11 N/A N/A jj N/A N/A othertype j N/A N/A pow ii jj N/A othertype N/A int long float N/A N/A i N/A range 1 100 N/A N/A zero N/A type 0 N/A exp N/A N/A othertype N/A i 10.0 N/A N/A exp 0 N/A N/A N/A N/A N/A self assertRaises ZeroDivisionError pow zero exp N/A N/A il ih N/A -20 20 N/A N/A jl jh N/A -5 5 N/A N/A kl kh N/A -10 10 N/A asseq N/A self assertEqual N/A N/A type float N/A N/A il 1 N/A asseq N/A self assertAlmostEqual N/A N/A N/A type int N/A N/A jl 0 N/A N/A N/A type long N/A N/A N/A jl jh N/A 0 15 N/A i N/A range il N/A ih 1 N/A N/A j N/A range jl N/A jh 1 N/A N/A k N/A range kl N/A kh 1 N/A N/A N/A k 0 N/A N/A N/A N/A type float N/A j 0 N/A N/A N/A N/A self assertRaises TypeError pow N/A type i j k N/A N/A N/A asseq N/A pow N/A type i j k N/A N/A pow N/A type i j N/A type k N/A test_powint N/A N/A self N/A N/A N/A N/A N/A self powtest int N/A test_powlong N/A N/A self N/A N/A N/A N/A N/A self powtest long N/A test_powfloat N/A N/A self N/A N/A N/A N/A N/A self powtest float N/A test_other N/A N/A self N/A N/A N/A N/A N/A self assertEquals N/A N/A pow 3 3 8 N/A pow 3 3 8 N/A N/A N/A self assertEquals N/A N/A pow 3 3 -8 N/A pow 3 3 -8 N/A N/A N/A self assertEquals N/A N/A pow 3 2 -2 N/A pow 3 2 -2 N/A N/A N/A self assertEquals N/A N/A pow -3 3 8 N/A pow -3 3 8 N/A N/A N/A self assertEquals N/A N/A pow -3 3 -8 N/A pow -3 3 -8 N/A N/A N/A self assertEquals N/A N/A pow 5 2 -8 N/A pow 5 2 -8 N/A N/A N/A self assertEquals N/A N/A pow 3 3 8 N/A pow 3 3 8 N/A N/A N/A self assertEquals N/A N/A pow 3 3 -8 N/A pow 3 3 -8 N/A N/A N/A self assertEquals N/A N/A pow 3 2 -2 N/A pow 3 2 -2 N/A N/A N/A self assertEquals N/A N/A pow -3 3 8 N/A pow -3 3 8 N/A N/A N/A self assertEquals N/A N/A pow -3 3 -8 N/A pow -3 3 -8 N/A N/A N/A self assertEquals N/A N/A pow 5 2 -8 N/A pow 5 2 -8 N/A i N/A range -10 11 N/A N/A j N/A range 0 6 N/A N/A k N/A range -7 11 N/A N/A N/A N/A j 0 N/A k 0 N/A N/A N/A N/A self assertEquals N/A N/A pow i j k N/A pow i j k N/A N/A N/A j 0 N/A k 0 N/A N/A N/A N/A self assertEquals N/A N/A pow N/A long i j k N/A pow N/A long i j k N/A test_bug643260 N/A N/A self N/A N/A TestRpow N/A N/A __rpow__ N/A N/A self other N/A N/A N/A None N/A N/A N/A N/A None N/A TestRpow N/A test_bug705231 N/A N/A self N/A N/A N/A eq N/A self assertEquals N/A a -1.0 N/A N/A eq N/A pow a 1.23e+167 1.0 N/A N/A eq N/A pow a -1.23e+167 1.0 N/A b N/A range -10 11 N/A N/A N/A eq N/A pow a N/A float b N/A N/A N/A b 1 -1.0 1.0 N/A n N/A range 0 100 N/A N/A fiveto N/A float N/A 5 n N/A expected N/A N/A N/A fiveto 2.0 -1.0 1.0 N/A N/A eq N/A pow a fiveto expected N/A N/A eq N/A pow a N/A fiveto expected N/A N/A eq expected 1.0 N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A N/A test test_support run_unittest PowTest N/A N/A N/A __name__ __main__ N/A N/A N/A test_main