code: def test_resolve_with_trailing_garbage(self):
      # This comment will be missed because the tokenizer fails to reach it.
      source = "   lambda: foo([], bar=1)), baz=2)()"
      clean_source = "lambda: foo([], bar=1)"
      node = parser.parse(clean_source).value
      origin_info.resolve(node, source, "test_file", 10, 10)
  
      def_origin = anno.getanno(node, anno.Basic.ORIGIN)
      self.assertEqual(def_origin.loc.lineno, 10)
      self.assertEqual(def_origin.loc.col_offset, 10)
      self.assertEqual(def_origin.source_code_line, source)
      self.assertIsNone(def_origin.comment)
  
imports: import inspect
  import sys
  import textwrap
  import unittest
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import inspect_utils
  from nvidia.dali._autograph.pyct import origin_info
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct.testing import basic_definitions
label_desc: Use image node_id 7 for calling the OriginInfoTest obj's underlying member method code with example usage: obj.test_resolve_with_trailing_garbage() without return types