code: def test_encoder_invalid_type():
      with pytest.raises(ValueError):
          ConformerPostEncoder(20, input_layer="fff")
  
imports: import pytest
  import torch
  from espnet2.slu.postencoder.conformer_postencoder import ConformerPostEncoder
label_desc: Use image node_id 5 for calling a global function with example usage: test_encoder_invalid_type() without return types