code: def test_collection_invalid_crs(tmpdir):
      filename = str(tmpdir.join("test.geojson"))
      with pytest.raises(CRSError):
          with fiona.open(
              filename,
              "w",
              schema={
                  "geometry": "Point",
                  "properties": {"foo": "int"},
              },
              crs="12ab-invalid",
              driver="GeoJSON",
          ) as dst:
              pass
  
file_path: Fiona/tests/test_collection_crs.py
imports: import os
  import re
  import pytest
  import fiona
  import fiona.crs
  from fiona.errors import CRSError
  from .conftest import WGS84PATTERN
label_desc: Use image node_id 5 for calling a global function with example usage: test_collection_invalid_crs(tmpdir) without return types