code: def test_data_naming():
      """
      This is a test for issue #3793 -- `Data` objects in named models are
      not given model-relative names.
      """
      with pm.Model("named_model") as model:
          x = pm.ConstantData("x", [1.0, 2.0, 3.0])
          y = pm.Normal("y")
      assert y.name == "named_model::y"
      assert x.name == "named_model::x"
  
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 1 for calling a global function with example usage: test_data_naming() without return types