diff --git a/tests/unit/encoders/test_bm25.py b/tests/unit/encoders/test_bm25.py index 9822d29b1132d206c5854baaa57176b29c775eea..e0f6dad5b9f507ed6859c41cb6286e7eec056d39 100644 --- a/tests/unit/encoders/test_bm25.py +++ b/tests/unit/encoders/test_bm25.py @@ -13,11 +13,7 @@ class TestBM25Encoder: assert len(bm25_encoder.idx_mapping) != 0 def test_fit(self, bm25_encoder): - bm25_encoder.fit([ - "some docs", - "and more docs", - "and even more docs" - ]) + bm25_encoder.fit(["some docs", "and more docs", "and even more docs"]) assert len(bm25_encoder.idx_mapping) != 0 def test_call_method(self, bm25_encoder):