1
0
forked from VimPlug/jedi

Fast parser fix.

This commit is contained in:
Dave Halter
2015-02-23 01:00:17 +01:00
parent 3a5b2d396e
commit 2fcb1b9b65
2 changed files with 16 additions and 5 deletions

View File

@@ -322,6 +322,18 @@ def test_wrong_indentation():
""")
check_fp(src, 1)
src = dedent("""\
def complex():
def nested():
a
b
a
def other():
pass
""")
check_fp(src, 3)
def test_open_parentheses():
func = 'def func():\n a'