code: def test_encoder_invalid_init():
      with pytest.raises(AssertionError):
          encoder = OpenAIWhisperEncoder(whisper_model="aaa")
          del encoder
  
file_path: espnet/test/espnet2/asr/encoder/test_whisper_encoder.py
imports: import sys
  import pytest
  import torch
  from packaging.version import parse
  from espnet2.asr.encoder.whisper_encoder import OpenAIWhisperEncoder
label_desc: Use image node_id 3 for calling a global function with example usage: test_encoder_invalid_init() without return types