code: def test_issue2353bis(caplog, path_rgb_byte_tif):
      """Ensure VRT doesn't leave errors behind."""
      from rasterio.vrt import WarpedVRT
  
      with caplog.at_level(logging.INFO):
          with rasterio.open("tests/data/goes.tif") as src:
              with WarpedVRT(src, dst_crs="EPSG:3857") as vrt:
                  pass
              assert "Ignoring error" in caplog.text
              _ = src.colorinterp
  
file_path: rasterio/tests/test_err.py
imports: import logging
  import pytest
  import rasterio
  from rasterio._err import CPLE_BaseError
  from rasterio.errors import RasterioIOError
  from rasterio.env import GDALVersion
  from .conftest import gdal_version
label_desc: Use image node_id 6 for calling a global function with example usage: test_issue2353bis(caplog, path_rgb_byte_tif) without return types