code: def test_opener_zipfile_open():
      """Use zipfile as opener."""
      with zipfile.ZipFile("tests/data/files.zip") as zf:
          with rasterio.open("RGB.byte.tif", opener=zf.open) as src:
              profile = src.profile
              assert profile["driver"] == "GTiff"
              assert profile["count"] == 3
  
file_path: rasterio/tests/test_pyopener.py
imports: import zipfile
  import io
  import fsspec
  import numpy
  import pytest
  import rasterio
  from rasterio.enums import MaskFlags
  from rasterio.errors import RasterioIOError, OpenerRegistrationError
label_desc: Use image node_id 6 for calling a global function with example usage: test_opener_zipfile_open() without return types