def test_str():
    import re
    t = Symbol('t', 'var * {name: string, amount: int, id: int}')
    expr = t[t['amount'] < 0]['id'] * 2
    assert str(expr) not in '<class'
    assert not re.search('0x[0-9a-f]+', str(expr))

    assert eval(str(expr)) == expr

    assert '*' in str(expr)
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_symbol.py/test_str/swapped operands of `not in`