code: def test_delete_invalid_path():
      """Invalid dataset."""
  
      with pytest.raises(RasterioIOError) as e:
          rasterio.shutil.delete("trash")
      assert "Invalid dataset" in str(e.value)
  
file_path: rasterio/tests/test_shutil.py
imports: import os
  import numpy
  import pytest
  import rasterio
  import rasterio.shutil
  from rasterio._err import CPLE_NotSupportedError
  from rasterio.errors import DriverRegistrationError, RasterioIOError
label_desc: Use image node_id 2 for calling a global function with example usage: test_delete_invalid_path() without return types