From 419ae59c79bada005a807d468f7b173c3c163bad Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 31 Aug 2019 14:08:05 +0200 Subject: [PATCH] Make flaky test test_issue_1971_4 more explicit --- spacy/tests/regression/test_issue1501-2000.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/tests/regression/test_issue1501-2000.py b/spacy/tests/regression/test_issue1501-2000.py index 6edef0702..24f725ab8 100644 --- a/spacy/tests/regression/test_issue1501-2000.py +++ b/spacy/tests/regression/test_issue1501-2000.py @@ -329,3 +329,4 @@ def test_issue_1971_4(en_vocab): matches = matcher(doc) # Uncommenting this caused a segmentation fault assert len(matches) == 1 + assert matches[0] == (en_vocab.strings["TEST"], 0, 3)