code: def test_update_band(data):
      tiffname = str(data.join("RGB.byte.tif"))
      with rasterio.open(tiffname, "r+") as f:
          f.write(np.zeros(f.shape, dtype=f.dtypes[0]), indexes=1)
      with rasterio.open(tiffname) as f:
          assert not f.read(1).any()
  
file_path: rasterio/tests/test_update.py
imports: import subprocess
  import re
  import affine
  import numpy
  import pytest
  import rasterio
label_desc: Use image node_id 2 for calling a global function with example usage: test_update_band(data) without return types