diff --git a/spacy/tests/parser/test_parse.py b/spacy/tests/parser/test_parse.py index 7972612f5..2590ad13d 100644 --- a/spacy/tests/parser/test_parse.py +++ b/spacy/tests/parser/test_parse.py @@ -32,7 +32,6 @@ def test_arc_eager_finalize_state(EN): # right branching example = EN.tokenizer.tokens_from_list(u"a b c d e".split(' ')) apply_transition_sequence(EN, example, ['R-nsubj','D','R-nsubj','R-nsubj','D','R-ROOT']) - print [ '%s/%s' % (t.dep_,t.head.i) for t in example ] assert example[0].n_lefts == 0 assert example[0].n_rights == 2 @@ -67,7 +66,6 @@ def test_arc_eager_finalize_state(EN): # left branching example = EN.tokenizer.tokens_from_list(u"a b c d e".split(' ')) apply_transition_sequence(EN, example, ['S','L-nsubj','L-ROOT','S','L-nsubj','L-nsubj']) - print [ '%s/%s' % (t.dep_,t.head.i) for t in example ] assert example[0].n_lefts == 0 assert example[0].n_rights == 0 diff --git a/spacy/tests/parser/test_sbd.py b/spacy/tests/parser/test_sbd.py index 0cc91a3a1..d72cef32d 100644 --- a/spacy/tests/parser/test_sbd.py +++ b/spacy/tests/parser/test_sbd.py @@ -138,7 +138,6 @@ def test_sbd_for_root_label_dependents(EN): example = EN.tokenizer.tokens_from_list(u"I saw a firefly It glowed".split(' ')) EN.tagger(example) apply_transition_sequence(EN, example, ['L-nsubj','S','L-det','R-dobj','D','S','L-nsubj','R-ROOT']) - print ['%s/%s' % (t.dep_,t.head.i) for t in example] assert example[1].head.i == 1 assert example[5].head.i == 5