Skip to content

Commit 58d73b8

Browse files
fixes typos in comments
1 parent 400d15f commit 58d73b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/test_aggregation_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_hybrid_query_text_weights():
233233
text_weights={"first": 0.2, "second": "0.1"},
234234
)
235235

236-
# no error is weights dictiionary is empty or None
236+
# no error if weights dictionary is empty or None
237237
query = HybridQuery(
238238
text="sample text query",
239239
text_field_name="description",

tests/unit/test_query_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def test_text_query_word_weights():
361361
text_weights={"first": 0.2, "second": "0.1"},
362362
)
363363

364-
# no error is weights dictiionary is empty or None
364+
# no error if weights dictionary is empty or None
365365
query = TextQuery(
366366
text="sample text query", text_field_name="description", text_weights={}
367367
)

0 commit comments

Comments
 (0)