code: def test_run_datalad_help():
      out, err = check_run_and_get_output("datalad --help")
      ok_startswith(out, "Usage: ")
      # There could be a warning from coverage that no data was collected, should be benign
      lines = [
          l
          for l in err.split(os.linesep)
          if ("no-data-collected" not in l) and l
      ]
      eq_(lines, [])
  
imports: import os
  from unittest.mock import patch
  from datalad.cmd import StdOutErrCapture, WitlessRunner
  from datalad.support.exceptions import CommandError
  from datalad.tests.utils_pytest import assert_cwd_unchanged, eq_, ok_startswith
label_desc: Use image node_id 2 for calling a global function with example usage: test_run_datalad_help() without return types