code: def test_set_data_to_non_data_container_variables(self):
      with pm.Model() as model:
          x = np.array([1.0, 2.0, 3.0])
          y = np.array([1.0, 2.0, 3.0])
          beta = pm.Normal("beta", 0, 10.0)
          pm.Normal("obs", beta * x, np.sqrt(1e-2), observed=y)
          pm.sample(
              1000,
              tune=1000,
              chains=1,
              compute_convergence_checks=False,
          )
      with pytest.raises(TypeError) as error:
          pm.set_data({"beta": [1.1, 2.2, 3.3]}, model=model)
      error.match("The variable `beta` must be a `SharedVariable`")
  
imports: import io
  import itertools
  import re
  import cloudpickle
  import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from pytensor import shared
  from pytensor.tensor.variable import TensorVariable
  import pymc
  from pymc.data import is_minibatch
  from pymc.pytensorf import GeneratorOp, floatX
label_desc: Use image node_id 10 for calling the TestData obj's underlying member method code with example usage: obj.test_set_data_to_non_data_container_variables() without return types