code: def test_unique_name_raise_error_in_eager(self):
      with context.eager_mode():
          with self.assertRaisesRegex(
              ValueError,
              "unique_name_ cannot be used when eager execution is enabled.",
          ):
              template.make_template(
                  "_", variable_scoped_function, unique_name_="s1"
              )
  
imports: import functools
  import traceback
  from tensorflow.python.client import session
  from tensorflow.python.eager import context
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import init_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import template
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import variables
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
  from tensorflow.python.training import gradient_descent
label_desc: Use image node_id 8 for calling the TemplateTest obj's underlying member method code with example usage: obj.test_unique_name_raise_error_in_eager() without return types