def METHOD_NAME(tmp_path):
    logger = hoomd.logging.Logger(categories=['scalar'])
    hdf5_writer = hoomd.write.HDF5Log(1, tmp_path / "eg.h5", logger)
    with pytest.raises(AttributeError):
        hdf5_writer.action
    with pytest.raises(AttributeError):
        hdf5_writer.detach
    with pytest.raises(AttributeError):
        hdf5_writer.attach