mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-12 23:35:47 +03:00
Unskip tests
This commit is contained in:
parent
90d9f04e0b
commit
6670c44390
|
@ -33,14 +33,12 @@ def parser(vocab):
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip # Segfaults
|
|
||||||
def test_no_sentences(parser):
|
def test_no_sentences(parser):
|
||||||
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
|
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
|
||||||
doc = parser(doc)
|
doc = parser(doc)
|
||||||
assert len(list(doc.sents)) >= 1
|
assert len(list(doc.sents)) >= 1
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip # Segfaults
|
|
||||||
def test_sents_1(parser):
|
def test_sents_1(parser):
|
||||||
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
|
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
|
||||||
doc[2].sent_start = True
|
doc[2].sent_start = True
|
||||||
|
@ -54,7 +52,6 @@ def test_sents_1(parser):
|
||||||
assert len(list(doc.sents)) == 2
|
assert len(list(doc.sents)) == 2
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip # Segfaults
|
|
||||||
def test_sents_1_2(parser):
|
def test_sents_1_2(parser):
|
||||||
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
|
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
|
||||||
doc[1].sent_start = True
|
doc[1].sent_start = True
|
||||||
|
@ -63,7 +60,6 @@ def test_sents_1_2(parser):
|
||||||
assert len(list(doc.sents)) >= 3
|
assert len(list(doc.sents)) >= 3
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip # Segfaults
|
|
||||||
def test_sents_1_3(parser):
|
def test_sents_1_3(parser):
|
||||||
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
|
doc = Doc(parser.vocab, words=["a", "b", "c", "d"])
|
||||||
doc[1].sent_start = True
|
doc[1].sent_start = True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user