Rename to test_textcat_multilabel_threshold

This commit is contained in:
Adriane Boyd 2022-10-25 14:57:00 +02:00
parent ebbbc3a611
commit d9a6734526

View File

@ -823,7 +823,7 @@ def test_textcat_loss(multi_label: bool, expected_loss: float):
assert loss == expected_loss
def test_textcat_threshold():
def test_textcat_multilabel_threshold():
# Ensure the scorer can be called with a different threshold
nlp = English()
nlp.add_pipe("textcat_multilabel")