Unskip tests

This commit is contained in:
Matthew Honnibal 2020-06-21 01:17:52 +02:00
parent 90d9f04e0b
commit 6670c44390

View File

@ -33,14 +33,12 @@ def parser(vocab):
return parser
@pytest.mark.skip # Segfaults
def test_no_sentences(parser):
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
doc = parser(doc)
assert len(list(doc.sents)) >= 1
@pytest.mark.skip # Segfaults
def test_sents_1(parser):
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
doc[2].sent_start = True
@ -54,7 +52,6 @@ def test_sents_1(parser):
assert len(list(doc.sents)) == 2
@pytest.mark.skip # Segfaults
def test_sents_1_2(parser):
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
doc[1].sent_start = True
@ -63,7 +60,6 @@ def test_sents_1_2(parser):
assert len(list(doc.sents)) >= 3
@pytest.mark.skip # Segfaults
def test_sents_1_3(parser):
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
doc[1].sent_start = True