code: def test_no_crs_in_file(output_dir):
      output_path = op.join(output_dir, "no_crs.tif")
  
      with rio.open(et.io.path_to_example("green.tif")) as src:
          data = src.read(1)
          profile = src.profile
          profile.update(crs=None)
  
      with rio.open(output_path, "w", **profile) as dst:
          dst.write(data, 1)
  
      with pytest.raises(
          ValueError, match="No CRS found in data. The raster "
      ):
          es.crs_check(output_path)
  
file_path: earthpy/earthpy/tests/test_epsg.py
imports: import pytest
  import rasterio
  import os.path
  import earthpy
  import earthpy.spatial
  from earthpy.io import path_to_example
label_desc: Use image node_id 5 for calling a global function with example usage: test_no_crs_in_file(output_dir) without return types