diff --git a/tests/test_graph_based.py b/tests/test_graph_based.py index a5dcd4c03a..19d4349912 100644 --- a/tests/test_graph_based.py +++ b/tests/test_graph_based.py @@ -167,7 +167,7 @@ def test_io_no_storage(self): index3 = faiss.deserialize_index( faiss.serialize_index(index), faiss.IO_FLAG_SKIP_STORAGE ) - self.assertEquals(index3.storage, None) + self.assertEqual(index3.storage, None) def test_abs_inner_product(self): """Test HNSW with abs inner product (not a real distance, so dubious that triangular inequality works)"""