code: def test_build_model():
      args = get_dummy_namespace()
  
      _ = SLUTask.build_model(args)
  
      with pytest.raises(RuntimeError):
          args.token_list = -1
  
          _ = SLUTask.build_model(args)
  
file_path: espnet/test/espnet2/tasks/test_slu.py
imports: from argparse import Namespace
  import pytest
  from espnet2.tasks.slu import SLUTask
label_desc: Use image node_id 8 for calling a global function with example usage: test_build_model() without return types