From 308a28c26c15e6798deaff2df998128389d81925 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 2 May 2016 16:08:11 +0200 Subject: [PATCH] * Whitespace --- spacy/tests/parser/test_parse.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spacy/tests/parser/test_parse.py b/spacy/tests/parser/test_parse.py index e7d7852f2..c524a3b62 100644 --- a/spacy/tests/parser/test_parse.py +++ b/spacy/tests/parser/test_parse.py @@ -12,13 +12,13 @@ def test_root(EN): @pytest.mark.models def test_one_word_sentence(EN): - # one word sentence - doc = EN.tokenizer.tokens_from_list(['Hello']) - EN.tagger(doc) - assert len(doc) == 1 - with EN.parser.step_through(doc) as _: - pass - assert doc[0].dep != 0 + # one word sentence + doc = EN.tokenizer.tokens_from_list(['Hello']) + EN.tagger(doc) + assert len(doc) == 1 + with EN.parser.step_through(doc) as _: + pass + assert doc[0].dep != 0 def apply_transition_sequence(model, doc, sequence):