Remove print statements in tests

This commit is contained in:
Matthew Honnibal 2017-07-22 15:42:38 +02:00
parent af945ea8e2
commit 796b2f4c1b
2 changed files with 0 additions and 3 deletions

View File

@ -14,7 +14,5 @@ def test_issue693(EN):
doc2 = EN(text2)
chunks1 = [chunk for chunk in doc1.noun_chunks]
chunks2 = [chunk for chunk in doc2.noun_chunks]
for word in doc1:
print(word.text, word.dep_, word.head.text)
assert len(chunks1) == 2
assert len(chunks2) == 2

View File

@ -15,7 +15,6 @@ def test_issue955(doc):
'''Test that we don't have any nested noun chunks'''
seen_tokens = set()
for np in doc.noun_chunks:
print(np.text, np.root.text, np.root.dep_, np.root.tag_)
for word in np:
key = (word.i, word.text)
assert key not in seen_tokens