code: def testGetGenericTypeArgs(self, tp, expected):
      self.assertEqual(
          type_annotations.get_generic_type_args(tp), expected
      )
  
file_path: tensorflow-upstream/tensorflow/python/util/type_annotations_test.py
imports: import typing
  from absl.testing import parameterized
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
  from tensorflow.python.util import type_annotations
label_desc: Use image node_id 2 for calling the TypeAnnotationsTest obj's underlying member method code with example usage: obj.testGetGenericTypeArgs(tp, expected) without return types