mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Auto-format code with black (#12035)
Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
This commit is contained in:
parent
ef9e504eac
commit
abb0ab109d
|
@ -897,7 +897,9 @@ def test_textcat_multi_threshold():
|
|||
assert scores["cats_f_per_type"]["POSITIVE"]["r"] == 1.0
|
||||
|
||||
|
||||
@pytest.mark.parametrize("component_name,scorer", [("textcat", "spacy.textcat_scorer.v1")])
|
||||
@pytest.mark.parametrize(
|
||||
"component_name,scorer", [("textcat", "spacy.textcat_scorer.v1")]
|
||||
)
|
||||
def test_textcat_legacy_scorers(component_name, scorer):
|
||||
"""Check that legacy scorers are registered and produce the expected score
|
||||
keys."""
|
||||
|
|
Loading…
Reference in New Issue
Block a user