From 3973af2d155d4840c8cf6f44fe2643d77c4b8a3c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 23 Apr 2017 22:59:34 +0200 Subject: [PATCH] Make training test less flakey --- spacy/tests/regression/test_issue999.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/regression/test_issue999.py b/spacy/tests/regression/test_issue999.py index 6e3e9af3f..8726adede 100644 --- a/spacy/tests/regression/test_issue999.py +++ b/spacy/tests/regression/test_issue999.py @@ -56,7 +56,7 @@ def test_issue999(train_data): for _, offsets in train_data: for start, end, ent_type in offsets: nlp.entity.add_label(ent_type) - for itn in range(10): + for itn in range(100): random.shuffle(train_data) for raw_text, entity_offsets in train_data: doc = nlp.make_doc(raw_text)