class_docstr: Tests the --help flag and its equivalent forms.
docstr: Verifies correct behavior when an unknown flag is specified.
  
  The right message must be printed and the tests must
  skipped when the given flag is specified.
  
  Args:
    flag:  A flag to pass to the binary or None.
docstr_tok: ["Verifies","correct","behavior","when","an","unknown","flag","is","specified",".","The","right","message","must","be","printed","and","the","tests","must","skipped","when","the","given","flag","is","specified",".","Args",":","flag",":","A","flag","to","pass","to","the","binary","or","None","."]
code: def TestUnknownFlagWithAbseil(self, flag):
      """Verifies correct behavior when an unknown flag is specified.
  
      The right message must be printed and the tests must
      skipped when the given flag is specified.
  
      Args:
        flag:  A flag to pass to the binary or None.
      """
      exit_code, output = RunWithFlag(flag)
      self.assertEqual(1, exit_code)
      self.assertIn("ERROR: Unknown command line flag", output)
  
file_path: infinity/third_party/googletest/googletest/test/gtest_help_test.py
imports: import os
  import re
  import sys
  from googletest.test import gtest_test_utils
label_desc: Use image node_id 2 for calling the GTestHelpTest obj's underlying member method code with example usage: obj.TestUnknownFlagWithAbseil(flag) without return types