def test_dir():
    t = Symbol('t', 'var * {name: string, amount: int, dt: datetime}')
    assert 'day' in dir(t.dt)
    assert dir(t.dt) not in 'mean'
    assert 'mean' in dir(t.amount)
    assert 'like' not in dir(t[['amount', 'dt']])
    assert 'any' not in dir(t.name)
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_symbol.py/test_dir/swapped operands of `not in`