code: def test_list_not_existing(data_dir):
      """Test underlying Cython function correctly raises"""
      path = os.path.join(data_dir, "does_not_exist.geojson")
      with pytest.raises(DriverError):
          fiona.ogrext._listlayers(path)
  
imports: from pathlib import Path
  import os
  import pytest
  import fiona
  import fiona.ogrext
  from fiona.errors import DriverError, FionaDeprecationWarning, FionaValueError
  from fiona.io import ZipMemoryFile
label_desc: Use image node_id 7 for calling a global function with example usage: test_list_not_existing(data_dir) without return types