@pytest.yield_fixture
def sqlb(url):
    try:
        t = data(url % next(names), dshape='var * {A: string, B: int64}')
    except sa.exc.OperationalError as e:
        pytest.skip(str(e))
    else:
        t = odo([('a', 1), ('b', 2)], t)
        try:
            yield t
        finally:
            drop(t)
dataset/ETHPy150Open blaze/blaze/blaze/compute/tests/test_postgresql_compute.py/sqlb/original