formatting

This commit is contained in:
svlandeg 2023-01-05 11:40:28 +01:00
parent fbd29cb277
commit a9f0ec819f

View File

@ -898,7 +898,11 @@ def test_textcat_multi_threshold():
@pytest.mark.parametrize(
"component_name,scorer", [("textcat", "spacy.textcat_scorer.v1"), ("textcat_multilabel", "spacy.textcat_multilabel_scorer.v1")]
"component_name,scorer",
[
("textcat", "spacy.textcat_scorer.v1"),
("textcat_multilabel", "spacy.textcat_multilabel_scorer.v1"),
],
)
def test_textcat_legacy_scorers(component_name, scorer):
"""Check that legacy scorers are registered and produce the expected score