diff --git a/tests/test_cypher_vector_behavior.py b/tests/test_cypher_vector_behavior.py index dc97e03..47b85b0 100644 --- a/tests/test_cypher_vector_behavior.py +++ b/tests/test_cypher_vector_behavior.py @@ -374,7 +374,8 @@ def test_drop_index_drops_it_and_if_exists_does_not_raise_when_it_is_gone(temp_d temp_db.command("opencypher", "DROP INDEX article_embedding") assert not temp_db.schema.exists_index("article_embedding") - with pytest.raises(ArcadeDBError, match="does not exist"): + # 26.11.1 says "does not exist"; engines with ArcadeData/arcadedb@9c89c306fa (IndexDropFailedException) say "There is no such index". + with pytest.raises(ArcadeDBError, match="does not exist|There is no such index"): temp_db.command("opencypher", "DROP INDEX article_embedding") temp_db.command("opencypher", "DROP INDEX article_embedding IF EXISTS")