From 74f8c66babb4758f64777ff7a049399192c62d76 Mon Sep 17 00:00:00 2001
From: Peter Luenenschloss <peter.luenenschloss@ufz.de>
Date: Mon, 22 Mar 2021 17:57:34 +0100
Subject: [PATCH] removed peculiar neg-operator -> harm tests running again

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

diff --git a/tests/funcs/test_harm_funcs.py b/tests/funcs/test_harm_funcs.py
index e09177a01..052d5f8da 100644
--- a/tests/funcs/test_harm_funcs.py
+++ b/tests/funcs/test_harm_funcs.py
@@ -134,8 +134,8 @@ def test_harmSingleVarIntermediateFlagging(data, reshaper):
             raise NotImplementedError('untested test case')
 
         assert all(flagger[field].iloc[start:end] > UNFLAGGED)
-        assert all(~flagger[field].iloc[:start] == UNFLAGGED)
-        assert all(~flagger[field].iloc[end:] == UNFLAGGED)
+        assert all(flagger[field].iloc[:start] == UNFLAGGED)
+        assert all(flagger[field].iloc[end:] == UNFLAGGED)
 
     elif 'shift' in reshaper:
         if reshaper == "nshift":
-- 
GitLab