code: def test_err(runner):
      result = runner.invoke(
          main_group, ["load"], "", catch_exceptions=False
      )
      assert result.exit_code == 2
  
file_path: Fiona/tests/test_fio_load.py
imports: from functools import partial
  import json
  import os
  import shutil
  import pytest
  import fiona
  from fiona.fio.main import main_group
  from fiona.model import ObjectEncoder
label_desc: Use image node_id 1 for calling a global function with example usage: test_err(runner) without return types