code: def test_write_colormap_revolving_door(self):
      with rasterio.open("tests/data/shade.tif") as src:
          shade = src.read(1)
          meta = src.meta
  
      tiffname = os.path.join(self.tempdir, "foo.tif")
  
      with rasterio.open(tiffname, "w", **meta) as dst:
          dst.write(shade, indexes=1)
  
      with rasterio.open(tiffname) as src:
          pass
  
file_path: rasterio/tests/test_revolvingdoor.py
imports: import logging
  import os.path
  import shutil
  import sys
  import tempfile
  import unittest
  import rasterio
label_desc: Use image node_id 3 for calling the RevolvingDoorTest obj's underlying member method code with example usage: obj.test_write_colormap_revolving_door() without return types