code: def test_hash_tuple_nested_unhashable_type(self):
      # Tuples may contain unhashable types like `list`, check that we error
      # properly in that case.
      @torch.jit.script
      def fn_unhashable(t1: Tuple[int, List[int]]):
          return hash(t1)
  
      with self.assertRaisesRegexWithHighlight(
          RuntimeError, "unhashable", "hash"
      ):
          fn_unhashable((1, [1]))
  
file_path: pytorch/test/jit/test_hash.py
imports: import os
  import sys
  import torch
  from typing import Tuple, List
  from torch.testing._internal.jit_utils import JitTestCase
label_desc: Use image node_id 2 for calling the TestHash obj's underlying member method code with example usage: obj.test_hash_tuple_nested_unhashable_type() and returns: hash