From fde33553beba972becf46ad473895e1949921c55 Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Sat, 2 Dec 2023 14:39:28 -0800 Subject: [PATCH] lint --- tests/unit/encoders/test_bm25.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/unit/encoders/test_bm25.py b/tests/unit/encoders/test_bm25.py index 9822d29b..e0f6dad5 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): -- GitLab