Skip to content

Commit fe0defa

Browse files
fbcode//faiss/tests (#3707)
Summary: Pull Request resolved: facebookresearch/faiss#3707 Differential Revision: D60503059 fbshipit-source-id: af5405717e08d78ab11ee8ee431f2b8a00c2aa70
1 parent a83f2e9 commit fe0defa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_graph_based.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def test_io_no_storage(self):
167167
index3 = faiss.deserialize_index(
168168
faiss.serialize_index(index), faiss.IO_FLAG_SKIP_STORAGE
169169
)
170-
self.assertEquals(index3.storage, None)
170+
self.assertEqual(index3.storage, None)
171171

172172
def test_abs_inner_product(self):
173173
"""Test HNSW with abs inner product (not a real distance, so dubious that triangular inequality works)"""

0 commit comments

Comments
 (0)