code: def test_encoder_invalid_two_branches():
      with pytest.raises(AssertionError):
          BranchformerEncoder(
              20,
              use_attn=False,
              use_cgmlp=False,
          )
  
file_path: espnet/test/espnet2/asr/encoder/test_branchformer_encoder.py
imports: import pytest
  import torch
  from espnet2.asr.encoder.branchformer_encoder import BranchformerEncoder
label_desc: Use image node_id 8 for calling a global function with example usage: test_encoder_invalid_two_branches() without return types