code: def test_compression_none():
      with rasterio.open("tests/data/RGB.byte.tif") as src:
          assert src.compression is None
          assert "compress" not in src.profile
  
file_path: rasterio/tests/test_image_structure.py
imports: import rasterio
  from rasterio.enums import Compression, Interleaving
label_desc: Use image node_id 10 for calling a global function with example usage: test_compression_none() without return types