From 8bca41dcac6482458beb42f7c1225b74937bd88a Mon Sep 17 00:00:00 2001 From: Dax Pryce Date: Wed, 23 Oct 2024 20:40:09 +0000 Subject: [PATCH] Unit tests failed, .all() is apparently what you need to do on numpy arrays,not all() the python function --- python/tests/test_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_files.py b/python/tests/test_files.py index fbea46f25..1fe3c414b 100644 --- a/python/tests/test_files.py +++ b/python/tests/test_files.py @@ -25,7 +25,7 @@ def test_memmap(self): dtype=np.float32, use_memmap=True ) - self.assertTrue(all(expected == actual)) + self.assertTrue((expected == actual).all()) actual = dap.vectors_from_file( vecs_file, dtype=np.float32,