code: def test_get_upgraders(self):
      with patch.object(
          torch._C,
          "_get_upgraders_entry_map",
          return_value=TEST_UPGRADERS_ENTRY_MAP,
      ), patch.object(
          torch._C,
          "_get_operator_version_map",
          return_value=TEST_OP_VERSION_MAP,
      ):
          op_upgraders = get_upgraders()
          self.assertEqual(
              op_upgraders,
              {
                  "div__Scalar_mode_0_3": (
                      "aten::div_.Scalar_mode(Tensor(a!) self, Scalar other, *, str? rounding_mode) -> Tensor(a!)",
                      """
  from typing import Any, Optional
  def div__Scalar_mode_0_3(self: torch.Tensor, other: Any,  *, rounding_mode: Optional[str]=None) -> torch.Tensor:
      return self.divide_(other, rounding_mode=rounding_mode)""",
                  )
              },
          )
  
file_path: pytorch/test/export/test_upgrade.py
imports: import unittest
  from unittest.mock import patch
  import torch
  import torch._dynamo
  from torch.export import export
  from torch._export.serde.serialize import GraphModuleOpUpgrader
  from torch._export.serde.upgrade import get_target_version, get_upgraders
  from torch.testing._internal.common_utils import run_tests, TestCase
label_desc: Use image node_id 1 for calling the TestUpgrade obj's underlying member method code with example usage: obj.test_get_upgraders() without return types