code: def testJITInEager(self):
      with self.assertRaisesRegex(
          RuntimeError,
          "xla.experimental.jit_scope is not supported when eager "
          "execution is enabled. Try use it inside tf.function.",
      ):
          with jit.experimental_jit_scope(True):
              constant_op.constant(1)
  
imports: from absl.testing import parameterized
  from tensorflow.python.compiler.xla import jit
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import function
  from tensorflow.python.framework import op_def_registry
  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 gradients
  from tensorflow.python.ops import init_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the JITTest obj's underlying member method code with example usage: obj.testJITInEager() without return types