diff --git a/stanza/tests/constituency/test_parse_tree.py b/stanza/tests/constituency/test_parse_tree.py index 1c8b80600..c38536f23 100644 --- a/stanza/tests/constituency/test_parse_tree.py +++ b/stanza/tests/constituency/test_parse_tree.py @@ -466,19 +466,16 @@ def test_count_wide_nodes(): (, ,) (NP-SBJ-2 (NP - (NP (DT the) (NN role)) - (PP - (IN of) - (NP (NNP Celimene)))) + (NP (DT the) (NN role) ) + (PP (IN of) + (NP (NNP Celimene) ))) (, ,) - (VP - (VBN played) - (NP (-NONE- *)) - (PP - (IN by) - (NP-LGS (NNP Kim) (NNP Cattrall))))) + (VP (VBN played) + (NP (-NONE- *) ) + (PP (IN by) + (NP-LGS (NNP Kim) (NNP Cattrall) ))) + (, ,) ) (VP - (, ,) (VBD was) (VP (ADVP-MNR (RB mistakenly)) @@ -490,6 +487,7 @@ def test_count_wide_nodes(): (. .))) """ expected_move = read_one_tree(expected_move) + assert tree != new_tree assert new_tree == expected_move # this one should move from right to left