code: def test_invalid_datasets_raise_errors():
      """Raise errors when users provide nonexistent datasets."""
      with pytest.raises(KeyError):
          eio.path_to_example("Non-existent dataset")
  
imports: import os
  import requests
  import pytest
  import numpy
  import rasterio
  import geopandas
  import earthpy.io
label_desc: Use image node_id 2 for calling a global function with example usage: test_invalid_datasets_raise_errors() without return types