Fix another very annoying fast parser issue.

This commit is contained in:
Dave Halter committed 2016-06-06 08:37:40 +02:00
1 parent dd85fc6ffd
commit 436f7dffe0
3 files changed
+56 -31

No files matched your search

+11
View File
@@ -423,6 +423,17 @@ def test_fake_parentheses():
check_fp(src, 3, 2, 1)
def test_additional_indent():
source = dedent('''\
int(
def x():
pass
''')
x = check_fp(source, 2)
import pdb; pdb.set_trace()
def test_incomplete_function():
source = '''return ImportErr'''