Fast parser fix.
This commit is contained in:
1 parent
3a5b2d396e
commit
2fcb1b9b65
2 files changed
+16
-5
No files matched your search
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user