From 2acaf1b5db2887003e85bbd2334160565780b323 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Tue, 30 May 2023 12:52:10 +0100 Subject: [PATCH] tests: np.alltrue replaced by np.all. --- tests/obs_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/obs_test.py b/tests/obs_test.py index 084edd64..4bf923c8 100644 --- a/tests/obs_test.py +++ b/tests/obs_test.py @@ -1096,7 +1096,7 @@ def test_reduce_deltas(): for idx_new in idl: new = pe.obs._reduce_deltas(deltas, idx_old, idx_new) print(new) - assert(np.alltrue([float(i) for i in idx_new] == new)) + assert(np.all([float(i) for i in idx_new] == new)) def test_cobs_array():