code: def test_call_from_parser_default_args():
      class DummyOne(Interface):
          # explicitly without @eval_results
          @staticmethod
          def __call__(arg=None, **kwargs):
              eq_(kwargs["common_on_failure"], None)
              eq_(kwargs["common_report_status"], None)
              eq_(kwargs["common_report_type"], None)
              # and even those we didn't pass
              eq_(kwargs["common_result_renderer"], "generic")
              # with dissolution of _OLD_STYLE_COMMANDS yoh yet to find
              # a real interface which had return_type (defined in
              # eval_params) but no @eval_results
              # eq_(kwargs['return_type'], "generator")
              eq_(arg, "nothing")
              yield "nothing is"
              yield "magical"
  
      # just to be sure no evil spirits chase away our Dummy
      val = call_from_parser(DummyOne, _new_args(arg="nothing"))
      eq_(val, ["nothing is", "magical"])
  
file_path: datalad/datalad/cli/tests/test_exec.py
imports: import argparse
  from argparse import Namespace
  import pytest
  from datalad.interface.base import Interface
  from datalad.support.param import Parameter
  from datalad.tests.utils_pytest import assert_not_in, eq_, patch_config
  from datalad.utils import updated
  from ..exec import _get_result_filter, call_from_parser
  from ..parser import parser_add_common_options, setup_parser_for_interface
label_desc: Use image node_id 5 for calling a global function with example usage: test_call_from_parser_default_args() without return types