From f97adfff245363d29eea6f970216cd6aea1a26c2 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Sat, 13 Apr 2019 18:47:28 +0100
Subject: [PATCH] TEST: Avoid deprecation warnings

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

diff --git a/tests/test_imagewrapper.py b/tests/test_imagewrapper.py
index 61ed5c21b..65c790ce3 100644
--- a/tests/test_imagewrapper.py
+++ b/tests/test_imagewrapper.py
@@ -906,8 +906,8 @@ def _test_ImageWrapper_write_in_overlap(niters, seed, threaded):
                 # on this copy
                 expCovSlice = [slice(int(lo), int(hi)) for lo, hi in expCov.T]
 
-                expLo = expData[expCovSlice].min()
-                expHi = expData[expCovSlice].max()
+                expLo = expData[tuple(expCovSlice)].min()
+                expHi = expData[tuple(expCovSlice)].max()
 
                 wrapper[tuple(sliceobjs)] = newData
                 _ImageWraper_busy_wait(wrapper)
-- 
GitLab