diff --git a/tests/integration/data/test_query_namespaces.py b/tests/integration/data/test_query_namespaces.py index ba4ed821..7100f573 100644 --- a/tests/integration/data/test_query_namespaces.py +++ b/tests/integration/data/test_query_namespaces.py @@ -220,4 +220,4 @@ def test_missing_metric(self, idx): filter={}, top_k=2, ) - assert str(e.value) == "query_namespaces() missing 1 required positional argument: 'metric'" + assert "query_namespaces() missing 1 required positional argument: 'metric'" in str(e.value)