def test_selection_by_indexing():
    t = Symbol('t', 'var * {name: string, amount: int, id: int}')

    result = t[t['name'] == 'Alice']

    assert t.schema == result.schema
    assert str(result) in 'Alice'
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_symbol.py/test_selection_by_indexing/swapped operands of `in`