code: def _test_args(test_params, expected_params, args_func):
      test_parser = argparse.ArgumentParser()
      args_func(test_parser)
      created = _create_argument_values_that_must_be_files_or_dirs(
          test_params
      )
      try:
          parsed_params = test_parser.parse_args(test_params.split())
      finally:
          _delete_argument_values_that_must_be_files_or_dirs(created)
      assert dict(vars(parsed_params)) == expected_params
  
imports: import argparse
  import pytest
  import tempfile
  import os
  import re
  import sockeye.arguments
  import sockeye.constants
  from itertools import zip_longest
label_desc: Use image node_id 15 for calling a global function with example usage: _test_args(test_params, expected_params, args_func) without return types