code: def test_tags_read():
      with rasterio.open("tests/data/RGB.byte.tif") as src:
          assert src.tags() == {"AREA_OR_POINT": "Area"}
          assert src.tags(ns="IMAGE_STRUCTURE") == {
              "INTERLEAVE": "PIXEL"
          }
          assert src.tags(ns="bogus") == {}
          assert "STATISTICS_MAXIMUM" in src.tags(1)
          with pytest.raises(IndexError):
              tags = src.tags(4)
  
file_path: rasterio/tests/test_tags.py
imports: import logging
  import sys
  import pytest
  import rasterio
label_desc: Use image node_id 1 for calling a global function with example usage: test_tags_read() without return types