code: def test_inference_data_only_posterior_has_log_likelihood(self, data):
      idata = from_pyro(data.obj)
      test_dict = {"log_likelihood": ["obs"]}
      fails = check_multiple_attrs(test_dict, idata)
      assert not fails
  
file_path: arviz/arviz/tests/external_tests/test_data_pyro.py
imports: import numpy
  import packaging
  import pytest
  from ...data.io_pyro import from_pyro
  from ..helpers import chains, check_multiple_attrs, draws, eight_schools_params, importorskip, load_cached_models
label_desc: Use image node_id 9 for calling the TestDataPyro obj's underlying member method code with example usage: obj.test_inference_data_only_posterior_has_log_likelihood(data) without return types