Module Expr Str Import alias Import alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad attr Assert CompareEq Call NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad BinOpMod NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad BinOpMod NameLoad NameLoad TupleLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad attr Assert CompareEq Call NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad Call NameLoad BinOpMult NameLoad NameLoad NameLoad Assert UnaryOpNot Call NameLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad ListLoad Call NameLoad BinOpMult NameLoad NameLoad NameLoad Call NameLoad BinOpMult NameLoad NameLoad NameLoad Assert Call NameLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad Num NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ListLoad Str Str ListLoad Str Call NameLoad keyword Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad attr Assert CompareEq Call NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad attr Assert CompareEq Call NameLoad Num Num Num ListLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Str Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpFloorDiv NameLoad Num Assign NameStore UnaryOpUSub NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd BinOpPow NameLoad NameLoad UnaryOpUSub NameLoad Assign NameStore BinOpMod NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad attr Assert CompareEq Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpDiv BinOpMult NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad CompareGt NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad CompareGt NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad CompareLt NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad CompareLt NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad CompareLtE NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad CompareLtE NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad CompareGtE NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad CompareGtE NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad Call NameLoad NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad Call NameLoad NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad BinOpBitOr NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad BinOpBitOr NameLoad NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad BinOpBitXor NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad BinOpBitXor NameLoad NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad Call NameLoad NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad BinOpBitAnd NameLoad NameLoad TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad BinOpBitAnd NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad BinOpBitAnd NameLoad NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad Call NameLoad NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad UnaryOpInvert NameLoad TupleLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad NameLoad ListLoad UnaryOpInvert NameLoad attr For TupleStore NameStore NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad UnaryOpInvert NameLoad TupleLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad NameLoad BinOpAdd Call NameLoad Call NameLoad Num Num Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad Call NameLoad Call NameLoad Num Num TupleLoad NameLoad ListLoad Num Assign NameStore ListLoad TupleLoad NameLoad Call NameLoad Call NameLoad Num Num Call NameLoad Call NameLoad Num Num FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad For NameStore NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore BinOpAdd Call NameLoad Call NameLoad Num Num Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad For NameStore NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Yield NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad TryExcept body Expr BinOpMod NameLoad NameLoad Assert NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpFloorDiv NameLoad NameLoad attr attr NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpFloorDiv NameLoad NameLoad attr attr NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpDiv NameLoad NameLoad attr attr NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpDiv NameLoad NameLoad attr attr NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpDiv NameLoad NameLoad attr attr NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpDiv NameLoad NameLoad attr attr NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpDiv NameLoad NameLoad attr attr NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpDiv NameLoad NameLoad attr attr NameLoad Assert Call NameLoad AttributeLoad AttributeLoad BinOpDiv NameLoad NameLoad attr attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str Assign NameStore CompareGt NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Dict NameLoad Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body For NameStore ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num ListLoad Num Num Num decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
These routines are not well-tested. They are also old.
OB says that it is not important to test them well because Scalar Ops
are rarely used by themselves, instead they are the basis for Tensor Ops
(which should be checked thoroughly). Moreover, Scalar will be changed
to use numpy's scalar routines.
If you do want to rewrite these tests, bear in mind:
  * You don't need to use Composite.
  * FunctionGraph and DualLinker are old, use compile.function instead.
 N/A unittest N/A numpy np N/A theano theano.gof FunctionGraph theano gof theano.tests unittest_tools utt theano.scalar.basic floats float32 float64 ints int8 int32 complex64 ComplexError IntDiv TrueDiv Composite add div_proxy and_ eq neq invert mul Scalar InRange theano.scalar.basic true_div inv log log2 log10 log1p exp exp2 expm1 sqrt deg2rad rad2deg cos arccos sin arcsin tan arctan arctan2 cosh arccosh sinh arcsinh tanh arctanh inputs N/A N/A N/A N/A N/A N/A floats xyz N/A test_ScalarOps N/A N/A unittest TestCase N/A test_straightforward N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A e N/A mul N/A add x y N/A div_proxy x y N/A g N/A FunctionGraph N/A x y N/A e N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept g make_function N/A N/A N/A fn 1.0 2.0 1.5 N/A tes_mod N/A N/A self N/A N/A N/A 
        We add this test as not all language and C implementation give the same
        signe to the result. This check that the c_code of `Mod` is implemented
        as Python. That is what we want.
         N/A N/A x y N/A ints xy N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x y make_function N/A N/A a b N/A N/A 0 1 N/A 1 1 N/A 0 -1 N/A 1 -1 N/A -1 -1 N/A 1 2 N/A -1 2 N/A 1 -2 N/A -1 -2 N/A 5 3 N/A -5 3 N/A 5 -3 N/A -5 -3 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A a N/A N/A test_composite N/A N/A unittest TestCase N/A test_straightforward N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A e N/A mul N/A add x y N/A div_proxy x y N/A C N/A Composite N/A x y N/A e N/A c N/A N/A C make_node x y N/A g N/A FunctionGraph N/A x y N/A N/A c out N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept g make_function N/A N/A N/A fn 1.0 2.0 1.5 N/A test_flatten N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A C N/A Composite N/A x y N/A N/A x y N/A CC N/A Composite N/A x y N/A N/A C N/A x y y N/A N/A N/A isinstance N/A N/A N/A N/A CC outputs N/A 0 owner op Composite N/A CC N/A Composite N/A x y z N/A N/A C N/A x y y N/A C N/A x z y N/A N/A isinstance N/A N/A N/A N/A CC outputs N/A 0 owner op Composite N/A test_with_constants N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A e N/A mul N/A add 70.0 y N/A div_proxy x y N/A C N/A Composite N/A x y N/A e N/A c N/A N/A C make_node x y N/A N/A 70.0 N/A N/A N/A c op c_code c dummy N/A x y N/A z N/A dict id 0 N/A g N/A FunctionGraph N/A x y N/A N/A c out N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept g make_function N/A N/A N/A fn 1.0 2.0 36.0 N/A test_many_outputs N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A e0 N/A N/A x y z N/A e1 N/A x N/A y z N/A e2 N/A x y N/A C N/A Composite N/A x y z N/A e0 e1 e2 N/A c N/A N/A C make_node x y z N/A g N/A FunctionGraph N/A x y z N/A c outputs N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept g make_function N/A N/A N/A fn 1.0 2.0 3.0 N/A 6.0 7.0 0.5 N/A test_composite_printing N/A N/A self N/A N/A N/A N/A x y z N/A floats xyz N/A e0 N/A N/A x y z N/A e1 N/A x N/A y z N/A e2 N/A x y N/A e3 N/A x 5 N/A e4 N/A x N/A e5 N/A x y N/A e6 N/A N/A x y N/A z N/A e7 N/A x 3 N/A C N/A Composite N/A x y z N/A e0 e1 e2 e3 e4 e5 e6 e7 N/A c N/A N/A C make_node x y z N/A g N/A FunctionGraph N/A x y z N/A c outputs N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept g make_function N/A N/A N/A str g [*1 -> Composite{((i0 + i1) + i2), (i0 + (i1 * i2)), (i0 / i1), (i0 // Constant{5}), (-i0), (i0 - i1), ((i0 ** i1) + (-i2)), (i0 % Constant{3})}(x, y, z), *1::1, *1::2, *1::3, *1::4, *1::5, *1::6, *1::7] N/A test_make_node_continue_graph N/A N/A self N/A N/A N/A si0 N/A N/A N/A theano scalar int8 N/A si1 N/A N/A N/A theano scalar int8 N/A si2 N/A N/A N/A theano scalar float32 N/A sout N/A N/A si0 si1 si2 N/A sop N/A N/A N/A theano scalar Composite N/A si0 si1 si2 N/A sout N/A si0 N/A N/A N/A theano scalar int8 N/A si1 N/A N/A N/A theano scalar int8 N/A si2 N/A N/A N/A theano scalar float32 N/A si3 N/A N/A N/A theano scalar float32 N/A N/A N/A sop make_node N/A si0 si3 si1 si2 N/A N/A test_logical N/A N/A unittest TestCase N/A test_gt N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x y make_function N/A N/A a b N/A N/A 3.0 9 N/A 3 0.9 N/A 3 3 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A test_lt N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x y make_function N/A N/A a b N/A N/A 3.0 9 N/A 3 0.9 N/A 3 3 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A test_le N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x y make_function N/A N/A a b N/A N/A 3.0 9 N/A 3 0.9 N/A 3 3 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A test_ge N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x y make_function N/A N/A a b N/A N/A 3.0 9 N/A 3 0.9 N/A 3 3 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A test_eq N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A eq x y make_function N/A N/A a b N/A N/A 3.0 9 N/A 3 0.9 N/A 3 3 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A test_neq N/A N/A self N/A N/A N/A N/A x y z N/A inputs N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A neq x y make_function N/A N/A a b N/A N/A 3.0 9 N/A 3 0.9 N/A 3 3 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A test_or N/A N/A self N/A N/A N/A N/A x y z N/A ints xyz N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x y make_function N/A N/A a b N/A N/A 0 1 N/A 0 0 N/A 1 0 N/A 1 1 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A a b N/A test_xor N/A N/A self N/A N/A N/A N/A x y z N/A ints xyz N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x y make_function N/A N/A a b N/A N/A 0 1 N/A 0 0 N/A 1 0 N/A 1 1 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A a b N/A test_and N/A N/A self N/A N/A N/A N/A x y z N/A ints xyz N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A and_ x y make_function N/A N/A a b N/A N/A 0 1 N/A 0 0 N/A 1 0 N/A 1 1 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A a b N/A N/A x y z N/A ints xyz N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x y make_function N/A N/A a b N/A N/A 0 1 N/A 0 0 N/A 1 0 N/A 1 1 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a b N/A a b N/A test_not N/A N/A self N/A N/A N/A N/A x y z N/A ints xyz N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A invert x make_function N/A N/A a b N/A N/A 0 1 N/A 0 0 N/A 1 0 N/A 1 1 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a N/A a N/A N/A x y z N/A ints xyz N/A fn N/A N/A N/A N/A N/A N/A gof DualLinker accept N/A FunctionGraph N/A x y N/A N/A x make_function N/A N/A a b N/A N/A 0 1 N/A 0 0 N/A 1 0 N/A 1 1 N/A N/A N/A N/A self assertTrue N/A N/A fn a b N/A a N/A a N/A N/A test_upgrade_to_float N/A object N/A N/A unary_ops_vals N/A N/A inv N/A N/A list N/A range -127 0 N/A list N/A range 1 127 N/A sqrt N/A list N/A range 0 128 N/A log N/A list N/A range 1 128 N/A log2 N/A list N/A range 1 128 N/A log10 N/A list N/A range 1 128 N/A log1p N/A list N/A range 0 128 N/A exp N/A list N/A range -127 89 N/A exp2 N/A list N/A range -127 89 N/A expm1 N/A list N/A range -127 89 N/A deg2rad N/A list N/A range -127 128 N/A rad2deg N/A list N/A range -127 128 N/A cos N/A list N/A range -127 128 N/A arccos N/A list N/A range -1 2 N/A cosh N/A list N/A range -89 90 N/A arccosh N/A list N/A range 1 128 N/A sin N/A list N/A range -127 128 N/A arcsin N/A list N/A range -1 2 N/A sinh N/A list N/A range -89 90 N/A arcsinh N/A list N/A range -127 128 N/A tan N/A list N/A range -3 4 N/A arctan N/A list N/A range -127 128 N/A tanh N/A list N/A range -127 128 N/A arctanh N/A 0 N/A binary_ops_vals N/A N/A arctan2 N/A list N/A range -127 128 N/A list N/A range -127 128 _test_unary N/A N/A unary_op x_range N/A N/A N/A xi N/A int8 xi N/A xf N/A float32 xf N/A ei N/A unary_op xi N/A fi N/A N/A theano function N/A xi ei N/A ef N/A unary_op xf N/A ff N/A N/A theano function N/A xf ef N/A x_val x_range N/A N/A outi N/A fi x_val N/A outf N/A ff x_val N/A N/A N/A outi dtype N/A outf dtype incorrect dtype N/A N/A N/A np allclose outi outf insufficient precision N/A staticmethod _test_binary N/A N/A binary_op x_range y_range N/A N/A N/A xi N/A int8 xi N/A yi N/A int8 yi N/A xf N/A float32 xf N/A yf N/A float32 yf N/A ei N/A binary_op xi yi N/A fi N/A N/A theano function N/A xi yi ei N/A ef N/A binary_op xf yf N/A ff N/A N/A theano function N/A xf yf ef N/A x_val x_range N/A N/A y_val y_range N/A N/A outi N/A fi x_val y_val N/A outf N/A ff x_val y_val N/A N/A N/A outi dtype N/A outf dtype incorrect dtype N/A N/A N/A np allclose outi outf insufficient precision N/A staticmethod test_true_div N/A N/A self N/A N/A N/A x_range N/A list N/A range -127 128 N/A y_range N/A N/A list N/A range -127 0 N/A list N/A range 1 127 N/A xi N/A int8 xi N/A yi N/A int8 yi N/A xf N/A N/A Scalar N/A N/A theano config floatX xf N/A yf N/A N/A Scalar N/A N/A theano config floatX yf N/A ei N/A true_div xi yi N/A fi N/A N/A theano function N/A xi yi ei N/A ef N/A true_div xf yf N/A ff N/A N/A theano function N/A xf yf ef N/A x_val x_range N/A N/A y_val y_range N/A N/A outi N/A fi x_val y_val N/A outf N/A ff x_val y_val N/A N/A N/A outi dtype N/A outf dtype incorrect dtype N/A N/A N/A np allclose outi outf insufficient precision N/A test_unary N/A N/A self N/A N/A N/A N/A unary_op x_range N/A self unary_ops_vals N/A N/A test_name N/A test_%s N/A unary_op name N/A test N/A N/A N/A N/A N/A N/A self _test_unary unary_op x_range N/A N/A test description test_name N/A N/A test N/A test_binary N/A N/A self N/A N/A N/A N/A binary_op x_range y_range N/A self binary_ops_vals N/A N/A test_name N/A test_%s N/A binary_op name N/A test N/A N/A N/A N/A N/A N/A self _test_binary binary_op x_range y_range N/A N/A test description test_name N/A N/A test N/A N/A test_complex_mod N/A N/A unittest TestCase N/A N/A Make sure % fails on complex numbers. test_fail N/A N/A self N/A N/A N/A x N/A complex64 N/A y N/A int32 N/A N/A N/A N/A x y N/A False N/A N/A N/A ComplexError N/A N/A N/A N/A test_div N/A N/A unittest TestCase N/A test_0 N/A N/A self N/A N/A N/A a N/A int8 N/A b N/A int32 N/A c N/A complex64 N/A d N/A float64 N/A f N/A float32 N/A N/A isinstance N/A N/A N/A a b owner op IntDiv N/A N/A isinstance N/A N/A N/A b a owner op IntDiv N/A N/A isinstance N/A N/A N/A b d owner op TrueDiv N/A N/A isinstance N/A N/A N/A b f owner op TrueDiv N/A N/A isinstance N/A N/A N/A f a owner op TrueDiv N/A N/A isinstance N/A N/A N/A d b owner op TrueDiv N/A N/A isinstance N/A N/A N/A d f owner op TrueDiv N/A N/A isinstance N/A N/A N/A f c owner op TrueDiv N/A N/A isinstance N/A N/A N/A a c owner op TrueDiv N/A N/A test_grad_gt N/A N/A N/A N/A N/A x N/A float32 name x N/A y N/A float32 name y N/A z N/A x y N/A g N/A N/A N/A theano gradient grad z y N/A N/A N/A N/A g eval N/A y 1.0 0.0 N/A test_grad_switch N/A N/A N/A N/A N/A x N/A N/A N/A theano tensor matrix N/A c N/A N/A N/A theano tensor matrix N/A s N/A N/A N/A theano tensor switch c x 0 N/A l N/A N/A s sum N/A N/A N/A N/A theano gradient grad l x N/A test_grad_identity N/A N/A N/A N/A N/A x N/A N/A N/A theano tensor imatrix x N/A y N/A N/A N/A theano tensor tensor_copy x N/A l N/A N/A y sum dtype N/A N/A theano config floatX N/A N/A N/A N/A theano gradient grad l x N/A test_grad_inrange N/A N/A N/A N/A N/A bound_definition N/A N/A True True N/A False False N/A N/A op N/A InRange bound_definition N/A x N/A N/A N/A theano tensor fscalar x N/A low N/A N/A N/A theano tensor fscalar low N/A high N/A N/A N/A theano tensor fscalar high N/A out N/A op x low high N/A N/A gx glow ghigh N/A N/A N/A theano tensor grad out N/A x low high N/A f N/A N/A theano function N/A x low high N/A gx glow ghigh N/A N/A N/A utt assert_allclose N/A f 0 1 5 N/A 0 0 0 N/A N/A N/A utt assert_allclose N/A f 1 1 5 N/A 0 0 0 N/A N/A N/A utt assert_allclose N/A f 2 1 5 N/A 0 0 0 N/A N/A N/A utt assert_allclose N/A f 5 1 5 N/A 0 0 0 N/A N/A N/A utt assert_allclose N/A f 7 1 5 N/A 0 0 0 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main