Blob Blame History Raw
From cdb7d3922e8b5039b731c5cf433d1395080580be Mon Sep 17 00:00:00 2001
From: snowman2 <alansnow21@gmail.com>
Date: Wed, 9 Nov 2022 20:49:55 -0600
Subject: [PATCH] TST: add expected values to test_reproject_resampling_alpha &
 test_reproject_resampling for GDAL 3.6

---
 tests/test_warp.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_warp.py b/tests/test_warp.py
index bc86e14d5..69217c7c6 100644
--- a/tests/test_warp.py
+++ b/tests/test_warp.py
@@ -1208,7 +1208,7 @@ def test_reproject_resampling(path_rgb_byte_tif, method):
         Resampling.med: [437194],
         Resampling.q1: [436397],
         Resampling.q3: [438948],
-        Resampling.sum: [439118],
+        Resampling.sum: [439118, 439142],  # 439142 for GDAL 3.6+
         Resampling.rms: [439385],
     }
 
@@ -1301,7 +1301,7 @@ def test_reproject_resampling_alpha(method):
         Resampling.med: [437194],
         Resampling.q1: [436397],
         Resampling.q3: [438948],
-        Resampling.sum: [439118],
+        Resampling.sum: [439118, 439142],  # 439142 for GDAL 3.6+
         Resampling.rms: [439385],
     }