1
0
forked from VimPlug/jedi

Merge branch 'remove_names_dicts' into diff

This commit is contained in:
Dave Halter
2016-09-11 13:24:11 +02:00
8 changed files with 26 additions and 51 deletions

View File

@@ -177,9 +177,7 @@ def test_end_pos_error_correction():
m = ParserWithRecovery(load_grammar(), s).module
func = m.children[0]
assert func.type == 'funcdef'
# This is not exactly correct, but ok, because it doesn't make a difference
# at all. We just want to make sure that the module end_pos is correct!
assert func.end_pos == (3, 0)
assert func.end_pos == (2, 2)
assert m.end_pos == (2, 2)