Skip to content

Commit

Permalink
Fix skip in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmith023 committed Feb 7, 2025
1 parent 23e1299 commit 9d34726
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration/test_named_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,9 @@ def test_same_target_vector_multiple_input_combinations(

def test_deprecated_syntax(collection_factory: CollectionFactory):
dummy = collection_factory("dummy")
if dummy._connection._weaviate_version.is_at_least(1, 29, 0):
if dummy._connection._weaviate_version.is_at_least(
1, 29, 0
) and dummy._connection._weaviate_version.is_lower_than(1, 27, 0):
pytest.skip(
"Syntax was deprecated between 1.27 and 1.29. Now it's allowed for multivector (colbert) searches"
)
Expand Down

0 comments on commit 9d34726

Please sign in to comment.