code: def test_inference_data_reader(self, test_args):
      kwargs, test_dict = test_args
      kwargs = {
          k: i
          for k, i in kwargs.items()
          if k not in ("arg_names", "arg_groups")
      }
      inference_data = self.get_inference_data_reader(**kwargs)
      test_dict.pop("observed_data")
      if "constant_data" in test_dict:
          test_dict.pop("constant_data")
      fails = check_multiple_attrs(test_dict, inference_data)
      assert not fails
  
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 4 for calling the TestDataEmcee obj's underlying member method code with example usage: obj.test_inference_data_reader(test_args) without return types