@pytest.yield_fixture
def pyt():
    tb = pytest.importorskip('tables')
    fn = 'test.pyt.h5'
    f = tb.open_file(fn, mode='w')
    d = f.create_table('/', 'test', x)
    yield d
    d.close()
    f.close()
    try:
        os.remove(fn)
    except __HOLE__:
        pass
dataset/ETHPy150Open blaze/blaze/blaze/compute/tests/test_pytables_compute.py/pyt