def test_dataset_without_chunks(fname): # ValueError: All chunk dimensions must be positive (Invalid arguments to routine: Out of range) # MH: This is not about Dataset chunks, but about an empty samples array ds = AttrDataset([8], a=dict(custom=1)) save(ds, fname, compression='gzip') ds_loaded = h5load(fname) ok_(ds_loaded.a.custom == ds.a.custom)