code: def get_inference_data_reader(self, **kwargs):
      from emcee import backends  # pylint: disable=no-name-in-module
  
      here = os.path.dirname(os.path.abspath(__file__))
      data_directory = os.path.join(here, "..", "saved_models")
      filepath = os.path.join(data_directory, "reader_testfile.h5")
      assert os.path.exists(filepath)
      assert os.path.getsize(filepath)
      reader = backends.HDFBackend(filepath, read_only=True)
      return from_emcee(reader, **kwargs)
  
imports: import os
  import numpy
  import pytest
  from ...None import from_emcee
  from ..helpers import _emcee_lnprior
  from ..helpers import _emcee_lnprob
  from ..helpers import chains, check_multiple_attrs, draws, eight_schools_params, importorskip, load_cached_models, needs_emcee3_func
label_desc: Use image node_id 2 for calling the TestDataEmcee obj's underlying member method code with example usage: obj.get_inference_data_reader() and returns: from_emcee