code: def test_info_no_credentials(tmpdir, monkeypatch, runner):
      credentials_file = tmpdir.join("credentials")
      monkeypatch.setenv(
          "AWS_SHARED_CREDENTIALS_FILE", str(credentials_file)
      )
      monkeypatch.delenv("AWS_ACCESS_KEY_ID", raising=False)
      result = runner.invoke(
          main_group, ["info", "tests/data/RGB.byte.tif"]
      )
      assert result.exit_code == 0
  
imports: import json
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
  from .conftest import credentials
label_desc: Use image node_id 42 for calling a global function with example usage: test_info_no_credentials(tmpdir, monkeypatch, runner) without return types