code: def test_block_type(input_conf, body_conf):
      with pytest.raises(ValueError):
          _ = Encoder(8, body_conf, input_conf=input_conf)
  
file_path: espnet/test/espnet2/asr_transducer/test_encoder.py
imports: import pytest
  import torch
  from espnet2.asr_transducer.encoder.encoder import Encoder
  from espnet2.asr_transducer.utils import TooShortUttError
label_desc: Use image node_id 2 for calling a global function with example usage: test_block_type(input_conf, body_conf) without return types