code: def test_load_command(module: str, command: str, exc):
      with pytest.raises(exc) if exc is not None else nullcontext():  # type: ignore
          load_command(module, command)
  
imports: from contextlib import nullcontext
  import pytest
  from mkdocs_click._exceptions import MkDocsClickException
  from mkdocs_click._loader import load_command
label_desc: Use image node_id 1 for calling a global function with example usage: test_load_command(module, command, exc) without return types