code: def test_name_scope(self):
      if context.executing_eagerly():
          self.skipTest("Tensor names are disabled in eager")
  
      with function_wrappers.FunctionScope(
          "test_name",
          None,
          converter.ConversionOptions(
              optional_features=converter.Feature.NAME_SCOPES
          ),
      ):
          t = constant_op.constant(1)
      self.assertIn("test_name", t.name)
  
file_path: tensorflow/tensorflow/python/autograph/core/function_wrappers_test.py
imports: from tensorflow.python.autograph.core import converter
  from tensorflow.python.autograph.core import function_wrappers
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the FunctionWrappersTest obj's underlying member method code with example usage: obj.test_name_scope() without return types