mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Remove regression test to see if it caused pytest Travis error
This commit is contained in:
parent
17018750ac
commit
02bdf490a1
|
@ -1,16 +0,0 @@
|
|||
# coding: utf8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from ...tokens.doc import Doc
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.xfail
|
||||
@pytest.mark.models
|
||||
@pytest.mark.parametrize('text', ["I cant do this."])
|
||||
def test_issue636(EN, text):
|
||||
"""Test that to_bytes and from_bytes don't change the token lemma."""
|
||||
doc1 = EN(text)
|
||||
doc2 = Doc(EN.vocab)
|
||||
doc2.from_bytes(doc1.to_bytes())
|
||||
assert [t.lemma_ for t in doc1] == [t.lemma_ for t in doc2]
|
Loading…
Reference in New Issue
Block a user