DOC: Remove auto_close option form read_hdf by bashtage · Pull Request #10330 · pandas-dev/pandas (original) (raw)
I think it should handle an open store (and not close it), that is the key. But of its not tested. So for now, let's put a test that hits that path (and you can raise NotImplemented or make it work), though the object has to be an actual HDFStore (or then its a ValueError).
Since this hasn't been hit in real code, either it works (maybe) or raises some weird error. Either way its not tested.