Skip to content

Commit 5b10199

Browse files
committed
test: removed unused test
1 parent 5d4b7d4 commit 5b10199

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

tests/entity_extraction/test_hf_evaluate.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,6 @@ def test_generate_classification_results_with_incorrect_input(example_incorrect_
159159
assert round(results["entity"]["precision"], 2) == 0.5
160160

161161

162-
def test_generate_classification_results_with_empty_input():
163-
true_tokens = []
164-
predicted_tokens = []
165-
166-
with pytest.raises(ValueError):
167-
generate_classification_results(true_tokens, predicted_tokens)
168-
169-
170162
def test_generate_classification_results_with_invalid_input_lengths():
171163
true_tokens = [["B-TAXA", "I-TAXA", "O", "B-PER"]]
172164
predicted_tokens = [["B-TAXA", "I-TAXA", "O"]]

0 commit comments

Comments
 (0)