From 3cdd3cffc9bc7faaaa42d45668f9d8eec05955ee Mon Sep 17 00:00:00 2001 From: Dax Pryce Date: Wed, 23 Oct 2024 22:49:49 +0000 Subject: [PATCH] Windows does not appreciate two readers of the same file at the same time in our unit test. --- python/tests/test_files.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/tests/test_files.py b/python/tests/test_files.py index 94faa2f34..f0c16f212 100644 --- a/python/tests/test_files.py +++ b/python/tests/test_files.py @@ -26,6 +26,7 @@ def test_memmap(self): use_memmap=True ) self.assertTrue((expected == actual).all(), f"{expected == actual}\n{expected}\n{actual}") + del actual # hopefully this releases the handle on the file, as windows is not happy with this actual = dap.vectors_from_file( vecs_file, dtype=np.float32,