Skip to content

Commit

Permalink
Unit tests failed, .all() is apparently what you need to do on numpy …
Browse files Browse the repository at this point in the history
…arrays,not all() the python function
  • Loading branch information
daxpryce committed Oct 23, 2024
1 parent 8bca41d commit cf3b884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_memmap(self):
dtype=np.float32,
use_memmap=True
)
self.assertTrue((expected == actual).all())
self.assertTrue((expected == actual).all(), f"{expected == actual}\n{expected}\n{actual}")
actual = dap.vectors_from_file(
vecs_file,
dtype=np.float32,
Expand Down

0 comments on commit cf3b884

Please sign in to comment.