code: def test_fast__create_analyzers_wrong_name():
      """
      Test 'innvestigate.create_analyzer':
      'KeyError' should be thrown when passing wrong keys.
      """
      fake_model = kmodels.Sequential(
          [klayers.Dense(10, input_shape=(10,))]
      )
      with pytest.raises(KeyError):
          create_analyzer("wrong name", fake_model)
  
file_path: innvestigate/tests/analyzer/test_init.py
imports: from __future__ import annotations
  import logging
  import pytest
  import tensorflow.keras.layers
  import tensorflow.keras.models
  from innvestigate import create_analyzer
  from innvestigate.analyzer import analyzers
label_desc: Use image node_id 2 for calling a global function with example usage: test_fast__create_analyzers_wrong_name() without return types