code: def test_no_block_arch():
      _, idim, odim, _, _ = get_default_scope_inputs()
      args = make_train_args(enc_block_arch=None)
  
      with pytest.raises(ValueError):
          E2E(idim, odim, args)
  
      args = make_train_args(dec_block_arch=None)
  
      with pytest.raises(ValueError):
          E2E(idim, odim, args)
  
imports: import argparse
  import json
  import tempfile
  import pytest
  import torch
  from packaging.version import parse
  import espnet.lm.pytorch_backend.extlm
  import espnet.nets.pytorch_backend.lm.default
  from espnet.asr.pytorch_backend.asr_init import load_trained_model
  from espnet.nets.beam_search_transducer import BeamSearchTransducer
  from espnet.nets.pytorch_backend.e2e_asr_transducer import E2E
  from espnet.nets.pytorch_backend.transducer.blocks import build_blocks
label_desc: Use image node_id 10 for calling a global function with example usage: test_no_block_arch() without return types