Skip to content

Commit

Permalink
Windows does not appreciate two readers of the same file at the same …
Browse files Browse the repository at this point in the history
…time in our unit test.
  • Loading branch information
daxpryce committed Oct 23, 2024
1 parent 1caeefd commit 3cdd3cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3cdd3cf

Please sign in to comment.