          # The result is an empty raster filled with the correct nodata value.
          self.assertEqual(result, [23] * 16)
  
      def test_raster_clone(self):
          rstfile = tempfile.NamedTemporaryFile(suffix=".tif")
          tests = [
              ("MEM", "", 23),  # In memory raster.
              ("tif", rstfile.name, 99),  # In file based raster.
          ]
          for driver, name, nodata_value in tests:
 
</s> remove                 rstfile = tempfile.NamedTemporaryFile(suffix=".tif")
 </s> add                 rstfile = NamedTemporaryFile(suffix=".tif") </s> remove         rstfile = tempfile.NamedTemporaryFile(suffix=".tif")
 </s> add         rstfile = NamedTemporaryFile(suffix=".tif") </s> remove         rstfile = tempfile.NamedTemporaryFile(suffix=".tif")
 </s> add         rstfile = NamedTemporaryFile(suffix=".tif") </s> remove             rstfile = tempfile.NamedTemporaryFile(suffix=".tif")
 </s> add             rstfile = NamedTemporaryFile(suffix=".tif") </s> remove         rstfile = tempfile.NamedTemporaryFile(suffix=".tif")
 </s> add         rstfile = NamedTemporaryFile(suffix=".tif")
        rstfile = NamedTemporaryFile(suffix=".tif")
          # The result is an empty raster filled with the correct nodata value.
          self.assertEqual(result, [23] * 16)
  
      def test_raster_clone(self):
        rstfile = NamedTemporaryFile(suffix=".tif")
          tests = [
              ("MEM", "", 23),  # In memory raster.
              ("tif", rstfile.name, 99),  # In file based raster.
          ]
          for driver, name, nodata_value in tests:
keep keep keep keep replace keep keep keep keep keep
 Fixed #34374 -- Fixed GIS tests on Windows. 
tests/gis_tests/gdal_tests/test_raster.py