From f9e4ac12836dbbe7a702d93db0682dd4cf193d42 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 15 Jan 2021 12:51:02 +1100 Subject: [PATCH] Fix test --- spacy/tests/pipeline/test_textcat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spacy/tests/pipeline/test_textcat.py b/spacy/tests/pipeline/test_textcat.py index fd1be53ee..f41ee4bd2 100644 --- a/spacy/tests/pipeline/test_textcat.py +++ b/spacy/tests/pipeline/test_textcat.py @@ -226,7 +226,8 @@ def test_overfitting_IO(): assert_equal(batch_cats_1, no_batch_cats) -def test_overfitting_IO_multi(): +@pytest.mark.skip(reason="TODO: Can this be removed?") +def test_overfitting_IO_multi_old(): # Simple test to try and quickly overfit the multi-label textcat component - ensuring the ML models work correctly fix_random_seed(0) nlp = English() @@ -273,7 +274,7 @@ def test_overfitting_IO_multi(): assert_equal(batch_cats_1, no_batch_cats) -def test_overfitting_IO_multi_2(): +def test_overfitting_IO_multi(): # Simple test to try and quickly overfit the multi-label textcat component - ensuring the ML models work correctly fix_random_seed(0) nlp = English()