code: def test_enforces_no_extra_trainable_variables_eager(self):
      tmpl = template.make_template(
          "s", function_with_side_create, trainable=True
      )
  
      tmpl(name="1")
      with self.assertRaises(ValueError):
          tmpl(name="2")
  
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 15 for calling the TemplateTest obj's underlying member method code with example usage: obj.test_enforces_no_extra_trainable_variables_eager() without return types