code: def test_illegal_batch_size(foundation_cache):
      stanza.Pipeline(
          "en",
          model_dir=TEST_MODELS_DIR,
          processors="tokenize,pos",
          constituency_batch_size="zzz",
          foundation_cache=foundation_cache,
      )
      with pytest.raises(ValueError):
          stanza.Pipeline(
              "en",
              model_dir=TEST_MODELS_DIR,
              processors="tokenize,pos,constituency",
              constituency_batch_size="zzz",
              foundation_cache=foundation_cache,
          )
  
file_path: stanza/stanza/tests/pipeline/test_pipeline_constituency_processor.py
imports: import pytest
  import stanza
  from stanza.models.common.foundation_cache import FoundationCache
  from stanza.tests import *
label_desc: Use image node_id 5 for calling a global function with example usage: test_illegal_batch_size(foundation_cache) without return types