code: def GetLeakyTests(output):
      """Returns a list of test names that leak mock objects."""
  
      # findall() returns a list of all matches of the regex in output.
      # For example, if '(used in test FooTest.Bar)' is in output, the
      # list will contain 'FooTest.Bar'.
      return re.findall(r"\(used in test (.+)\)", output)
  
file_path: googletest/googlemock/test/gmock_output_test.py
imports: from io import open
  import os
  import re
  import sys
  from googlemock.test import gmock_test_utils
label_desc: Use image node_id 7 for calling a global function with example usage: GetLeakyTests(output) and returns: re