  
      def test_raster_transform_clone(self):
          with mock.patch.object(GDALRaster, "clone") as mocked_clone:
              # Create in file based raster.
              rstfile = tempfile.NamedTemporaryFile(suffix=".tif")
              source = GDALRaster(
                  {
                      "datatype": 1,
                      "driver": "tif",
                      "name": rstfile.name,
 
</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")
  
      def test_raster_transform_clone(self):
          with mock.patch.object(GDALRaster, "clone") as mocked_clone:
              # Create in file based raster.
            rstfile = NamedTemporaryFile(suffix=".tif")
              source = GDALRaster(
                  {
                      "datatype": 1,
                      "driver": "tif",
                      "name": rstfile.name,
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