def test_drop_dataset():
    with tmpfile('.hdf5') as fn:
        f = h5py.File(fn)
        try:
            data = f.create_dataset('/data', data=x, chunks=True,
                                    maxshape=(None,) + x.shape[1:])

            drop(data)
            assert f.keys() not in '/data'
        finally:
            with ignoring(Exception):
                f.close()
dataset/ETHPy150Open blaze/odo/odo/backends/tests/test_h5py.py/test_drop_dataset/swapped operands of `not in`