code: def test_open_no_log(caplog, tmp_path):
      """See gh-2525."""
      caplog.set_level(logging.DEBUG)
      rasterio.open(
          tmp_path / "my.tif",
          "w",
          driver="GTiff",
          width=500,
          height=500,
          count=4,
          dtype=np.uint8,
          nodata=255,
      )
      assert "GDAL signalled an error" not in caplog.text
  
imports: import logging
  import re
  from pathlib import Path
  import subprocess
  import affine
  import numpy
  import pytest
  from .conftest import requires_gdal35, gdal_version
  import rasterio
  from rasterio.drivers import blacklist
  from rasterio.enums import MaskFlags, Resampling
  from rasterio.env import Env, GDALVersion
  from rasterio.errors import RasterioIOError
label_desc: Use image node_id 36 for calling a global function with example usage: test_open_no_log(caplog, tmp_path) without return types