Skip to content

Commit

Permalink
Fix: Close file descriptor before removing
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Aug 23, 2023
1 parent c960180 commit 361f0fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/scripts/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def test_index_save_load_restore_copy(ndim, quantization, batch_size):
assert len(copied_index) == len(index)
assert np.allclose(np.vstack(copied_index.get(keys)), np.vstack(index.get(keys)))

index.reset()
os.remove("tmp.usearch")


Expand Down

0 comments on commit 361f0fa

Please sign in to comment.