code: def test_disable_saved_tensors_hooks_prev_disabled(self):
      def fn(z):
          @torch.autograd.graph.disable_saved_tensors_hooks(
              "This is not supported"
          )
          def f(x, y):
              return x + y
  
          x, y = torch.ones(
              1,
          ), torch.zeros(
              1,
          )
          return f(x, y)
  
      eager = EagerAndRecordGraphs()
      with torch.autograd.graph.disable_saved_tensors_hooks(
          "Previously disabled message"
      ):
          torch.compile(fn, backend=eager, fullgraph=True)(
              torch.randn(())
          )
  
      graph = eager.graphs[0]
      actual = normalize_gm(graph.print_readable(False))
  
      expected = """\
  class GraphModule(torch.nn.Module):
      def forward(self):
          _saved_tensors_hooks_disable = torch._C._autograd._saved_tensors_hooks_disable('This is not supported')
  
          x = torch.ones(1)
  
          y = torch.zeros(1)
  
          add = x + y;  x = y = None
  
          _saved_tensors_hooks_disable_1 = torch._C._autograd._saved_tensors_hooks_disable('Previously disabled message')
          return (add,)
  """
      self.assertExpectedInline(actual, expected)
  
imports: import unittest
  import torch
  import torch._dynamo.test_case
  import torch._dynamo.testing
  import torch.onnx.operators
  from torch._dynamo.testing import EagerAndRecordGraphs, normalize_gm, same
  from torch.nn import functional
  from torch.testing._internal.common_cuda import PLATFORM_SUPPORTS_FLASH_ATTENTION
  from torch.testing._internal.common_utils import TEST_WITH_ROCM
label_desc: Use image node_id 33 for calling the CtxManagerTests obj's underlying member method code with example usage: obj.test_disable_saved_tensors_hooks_prev_disabled() and returns: f, unknown