def test_improper_selection():
    t = Symbol('t', 'var * {x: int, y: int, z: int}')

    assert raises(Exception, lambda: t[0 > t['x']][t.sort()[t['y' > 0]]])
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_symbol.py/test_improper_selection/swapped operands of `>`