Skip to content

Commit 29aa107

Browse files
CodemodService PythonDeprecatedAssertsBotfacebook-github-bot
CodemodService PythonDeprecatedAssertsBot
authored andcommitted
fbcode//faiss/tests (#3707)
Summary: Pull Request resolved: #3707 Differential Revision: D60503059
1 parent 96d0781 commit 29aa107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_graph_based.py

+1-1
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)