def test_schema_of_complex_interaction():
    a = Symbol('a', 'var * {x: int, y: int, z: int}')
    expr = (a['x'] + a['y']) / a['z']
    assert expr.schema == dshape('float64')

    expr = expr.label('foo')
    assert expr.schema == dshape('float64')
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_symbol.py/test_schema_of_complex_interaction/original