code: def test_construct_arguments_ignores_excess_options():
      s = Signature(bariza)
      args, kwargs = s.construct_arguments(
          [2], {"b": 4}, {"c": 6, "foo": 9, "bar": 0}
      )
      assert args == [2]
      assert kwargs == {"b": 4, "c": 6}
  
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 28 for calling a global function with example usage: test_construct_arguments_ignores_excess_options() without return types