docstr: Tests that nested XLA computation leads to fatal error.
code: def test_nested_xla_compile_error(self):
      """Tests that nested XLA computation leads to fatal error."""
      context1 = self.create_test_xla_compile_context()
      context1.Enter()
  
      context2 = self.create_test_xla_compile_context()
      context2.Enter()
      with self.assertRaisesRegex(
          ValueError, "XLA compiled computations cannot be nested"
      ):
          constant_op.constant(1)
      context2.Exit()
      context1.Exit()
  
imports: from absl.testing import parameterized
  from tensorflow.python import summary
  from tensorflow.python.compiler.xla import xla
  from tensorflow.python.eager import def_function
  from tensorflow.python.estimator import model_fn
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import control_flow_util
  from tensorflow.python.ops import logging_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import test
  from tensorflow.python.tpu import tpu_feed
label_desc: Use image node_id 6 for calling the XLACompileContextTest obj's underlying member method code with example usage: obj.test_nested_xla_compile_error() without return types