code: def test_inference_data_no_posterior(self, data):
      model = data.model
      # only prior
      inference_data = from_beanmachine(data.prior)
      assert not model.obs() in inference_data.posterior
      assert "observed_data" not in inference_data
  
file_path: arviz/arviz/tests/external_tests/test_data_beanmachine.py
imports: import numpy
  import pytest
  from ...data.io_beanmachine import from_beanmachine
  from ..helpers import chains, draws, eight_schools_params, importorskip, load_cached_models
label_desc: Use image node_id 6 for calling the TestDataBeanMachine obj's underlying member method code with example usage: obj.test_inference_data_no_posterior(data) without return types