fix: python ut (#401)

This commit is contained in:
Qinren Zhou 2026-05-13 15:56:58 +08:00 committed by GitHub
parent e0b8331116
commit e8eaf0aa57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ class TestCollectionQuery:
with pytest.raises(Exception) as exc_info:
full_collection.query(filter=filter)
if filter in ["int32_field = 'string'", "nonexistent_field = 5"]:
assert "Analyze sql info failed" in str(exc_info.value)
assert "Analyze SQL info failed" in str(exc_info.value)
else:
assert "Invalid filter" in str(exc_info.value)