code: def test_construct_arguments_with_unexpected_args_raises_typeerror(
      func, args
  ):
      unexpected = re.compile(".*unexpected.*")
      with pytest.raises(TypeError) as excinfo:
          Signature(func).construct_arguments(args, {}, {})
      assert unexpected.match(excinfo.value.args[0])
  
imports: from __future__ import division, print_function
  import re
  import pytest
  from sacred.config.signature import Signature
  from sacred.utils import MissingConfigError
label_desc: Use image node_id 19 for calling a global function with example usage: test_construct_arguments_with_unexpected_args_raises_typeerror(func, args) without return types