code: def test_sum_list_literal(self):
      def sum_list():
          # type: () -> int
          sum = 0
          for i in [1, 2, 3, 4, 5]:
              sum += i
  
          return sum
  
      self.checkScript(sum_list, ())
  
imports: import os
  import sys
  import torch
  from torch.testing._internal.jit_utils import JitTestCase, make_global
  from torch.testing._internal.common_utils import IS_WINDOWS
  from collections import namedtuple
  from typing import List, Tuple, Dict, NamedTuple
label_desc: Use image node_id 19 for calling the TestTyping obj's underlying member method code with example usage: obj.test_sum_list_literal() and returns: sum