code: def test_unsupported_real_stack(self):
      # exercise Unsupported constructor and augment_exc_message
      def fn002(x):
          torch._dynamo.graph_break()
  
      def fn001(x):
          x = x + 1
          fn002(x)
  
      self.assertExpectedInlineMunged(
          Unsupported,
          lambda: torch.compile(fn001, backend="eager", fullgraph=True)(
              torch.randn(1)
          ),
          """\
  'skip function graph_break in file _dynamo/decorators.py'
  
  from user code:
     File "test_exc.py", line N, in fn001
      fn002(x)
    File "test_exc.py", line N, in fn002
      torch._dynamo.graph_break()""",
      )
  
imports: import logging
  import unittest
  import torch
  import torch._dynamo
  import torch._dynamo.config
  import torch._dynamo.test_case
  from torch._dynamo.comptime import comptime
  from torch._dynamo.exc import Unsupported
  from torch.testing._internal.common_device_type import skipIf
  from torch.testing._internal.common_utils import IS_FBCODE, munge_exc, TEST_Z3
  from torch.testing._internal.logging_utils import LoggingTestCase, make_logging_test
label_desc: Use image node_id 1 for calling the ExcTests obj's underlying member method code with example usage: obj.test_unsupported_real_stack() without return types