code: def test_subexpression_Dict_int_Future(self):
      @torch.jit.script
      def fn(
          x: Dict[int, torch.jit.Future[int]], y: int
      ) -> torch.jit.Future[int]:
          return x[y]
  
      FileCheck().check("Dict(int, Future(int))").check(
          "Future[int]"
      ).run(fn.graph)
  
imports: from typing import Any, Dict, List, Optional, Tuple
  from torch.testing._internal.jit_utils import JitTestCase, make_global
  from torch.testing import FileCheck
  from torch import jit
  from jit.test_module_interface import TestModuleInterface
  import os
  import sys
  import torch
  import torch.testing._internal.jit_utils
  import torch.nn
  import unittest
  from torch.testing._internal.common_utils import freeze_rng_state
  from torch.testing._internal.jit_utils import RUN_CUDA_HALF
label_desc: Use image node_id 9 for calling the TestMisc obj's underlying member method code with example usage: obj.test_subexpression_Dict_int_Future() and returns: x