code: def test_empirical_does_not_support_inference_data():
      with models.another_simple_model():
          step = pm.Metropolis()
          trace = pm.sample(
              100,
              step=step,
              chains=1,
              tune=0,
              return_inferencedata=True,
          )
          with pytest.raises(
              NotImplementedError, match="return_inferencedata=False"
          ):
              Empirical(trace)
  
file_path: pymc/tests/variational/test_approximations.py
imports: import numpy
  import pytensor
  import pytest
  import pymc
  from pymc.variational.approximations import Empirical, MeanField
  from tests import models
label_desc: Use image node_id 1 for calling a global function with example usage: test_empirical_does_not_support_inference_data() without return types