code: def test_tags_eq(tmpdir):
      path = str(tmpdir.join("test.tif"))
      with rasterio.open(
          path, "w", "GTiff", 3, 4, 1, dtype=rasterio.ubyte
      ) as dst:
          dst.update_tags(a="foo=bar")
          assert dst.tags() == {"a": "foo=bar"}
  
file_path: rasterio/tests/test_tags.py
imports: import logging
  import sys
  import pytest
  import rasterio
label_desc: Use image node_id 4 for calling a global function with example usage: test_tags_eq(tmpdir) without return types