@pytest.yield_fixture
def sql_with_dts(url):
    try:
        t = data(url % next(names), dshape='var * {A: datetime}')
    except sa.exc.OperationalError as e:
        pytest.skip(str(e))
    else:
        t = odo([(d,) for d in pd.date_range('2014-01-01', '2014-02-01')], t)
        try:
            yield t
        finally:
            drop(t)
dataset/ETHPy150Open blaze/blaze/blaze/compute/tests/test_postgresql_compute.py/sql_with_dts/original