code: def test_invalid_gradient_keyword_arguments():
      """Tests that unknown gradient_keyword_arguments raise a ValueError."""
      with pytest.raises(
          ValueError,
          match="All gradient_keyword_arguments keys must be in",
      ):
          _ = ExecutionConfig(
              gradient_keyword_arguments={"nonsense": 0}
          )
  
imports: import pytest
  from pennylane.devices import ExecutionConfig
label_desc: Use image node_id 4 for calling a global function with example usage: test_invalid_gradient_keyword_arguments() without return types