code: def test_tags_update_twice(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=1, b=2)
          assert dst.tags() == {"a": "1", "b": "2"}
          dst.update_tags(c=3)
          assert dst.tags() == {"a": "1", "b": "2", "c": "3"}
  
file_path: rasterio/tests/test_tags.py
imports: import logging
  import sys
  import pytest
  import rasterio
label_desc: Use image node_id 3 for calling a global function with example usage: test_tags_update_twice(tmpdir) without return types