code: def test_get_upgraders_missing_from_entry_map_raises(self):
      with patch.object(
          torch._C, "_get_upgraders_entry_map", return_value={}
      ), patch.object(
          torch._C,
          "_get_operator_version_map",
          return_value=TEST_OP_VERSION_MAP,
      ):
          with self.assertRaises(RuntimeError):
              get_upgraders()
  
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 2 for calling the TestUpgrade obj's underlying member method code with example usage: obj.test_get_upgraders_missing_from_entry_map_raises() without return types