From 964d636e2782ed4660942dffc905cb7e739659d6 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 24 Aug 2020 23:03:16 +0200 Subject: [PATCH] Fix test --- spacy/tests/pipeline/test_textcat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/tests/pipeline/test_textcat.py b/spacy/tests/pipeline/test_textcat.py index 66c27b233..669001961 100644 --- a/spacy/tests/pipeline/test_textcat.py +++ b/spacy/tests/pipeline/test_textcat.py @@ -118,8 +118,8 @@ def test_overfitting_IO(): # Test scoring scores = nlp.evaluate(train_examples, scorer_cfg={"positive_label": "POSITIVE"}) - assert scores["cats_micro_f"] == 1.0 - assert scores["cats_score"] == 1.0 + assert scores["cats_micro_f"] == 100.0 + assert scores["cats_score"] == 100.0 assert "cats_score_desc" in scores