code: def test_update_docstring_with_parameters_no_kwds():
      from datalad.support.param import Parameter
  
      def fn(pos0):
          "fn doc"
  
      assert_not_in("3", fn.__doc__)
      # Call doesn't crash when there are no keyword arguments.
      update_docstring_with_parameters(
          fn,
          dict(
              pos0=Parameter(doc="pos0 param doc"),
              pos1=Parameter(doc="pos1 param doc"),
          ),
          add_args={"pos1": 3},
      )
      assert_in("3", 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 2 for calling a global function with example usage: test_update_docstring_with_parameters_no_kwds() without return types