From 0ea08c43197262fdc201fd6de0f3b44f4462cc74 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 8 Aug 2015 23:45:36 +0200 Subject: [PATCH] * Fix test partial parse --- tests/parser/test_initial_actions_parse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/parser/test_initial_actions_parse.py b/tests/parser/test_initial_actions_parse.py index 7d36d2ab1..c1603cd93 100644 --- a/tests/parser/test_initial_actions_parse.py +++ b/tests/parser/test_initial_actions_parse.py @@ -7,6 +7,6 @@ def test_initial(EN): next_actions = EN.parser.partial(doc, ['L-nsubj', 'S', 'L-det']) assert doc[0].head.i == 1 assert doc[1].head.i == 1 - assert doc[2].head.i == 2 - assert doc[3].head.i == 2 + assert doc[2].head.i == 3 + assert doc[3].head.i == 3 assert doc