code: def test_load_model_blank_shortcut():
      """Test that using a model name like "blank:en" works as a shortcut for
      spacy.blank("en").
      """
      nlp = util.load_model("blank:en")
      assert nlp.lang == "en"
      assert nlp.pipeline == []
  
      # ImportError for loading an unsupported language
      with pytest.raises(ImportError):
          util.load_model("blank:zxx")
  
      # ImportError for requesting an invalid language code that isn't registered
      with pytest.raises(ImportError):
          util.load_model("blank:fjsfijsdof")
  
imports: import ctypes
  import os
  from pathlib import Path
  import pytest
  from thinc.api import Config, ConfigValidationError, CupyOps, MPSOps, NumpyOps, Optimizer, get_current_ops, set_current_ops
  from thinc.compat import has_cupy_gpu, has_torch_mps_gpu
  from spacy import prefer_gpu, require_cpu, require_gpu, util
  from spacy.about import __version__
  from spacy.lang.en import English
  from spacy.lang.nl import Dutch
  from spacy.language import DEFAULT_CONFIG_PATH
  from spacy.ml._precomputable_affine import PrecomputableAffine, _backprop_precomputable_affine_padding
  from spacy.schemas import ConfigSchemaTraining, TokenPattern, TokenPatternSchema
  from spacy.training.batchers import minibatch_by_words
  from spacy.util import SimpleFrozenList, dot_to_object, find_available_port, import_file, to_ternary_int
  from .util import get_random_doc, make_tempdir
label_desc: Use image node_id 12 for calling a global function with example usage: test_load_model_blank_shortcut() without return types