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 7d8402b commit 8bca41d
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(all(expected == actual))
self.assertTrue((expected == actual).all())
actual = dap.vectors_from_file(
vecs_file,
dtype=np.float32,
Expand Down

0 comments on commit 8bca41d

Please sign in to comment.