code: def test_update_docstring_with_parameters_single_line_prefix():
      from datalad.support.param import Parameter
  
      def fn(pos0, pos1):
          pass
  
      update_docstring_with_parameters(
          fn,
          dict(
              pos0=Parameter(doc="pos0 param doc"),
              pos1=Parameter(doc="pos1 param doc"),
          ),
          prefix="This is a single line.",
      )
      assert_in("This is a single line.\n\nParameters\n", fn.__doc__)
  
imports: from datalad.cmd import StdOutCapture, WitlessRunner
  from datalad.tests.utils_pytest import assert_in, assert_not_in, eq_, ok_, swallow_outputs, with_tempfile
  from ..base import update_docstring_with_parameters
label_desc: Use image node_id 3 for calling a global function with example usage: test_update_docstring_with_parameters_single_line_prefix() without return types