mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-01 23:43:45 +08:00
Remove the remove_newline hack and build that stuff into error recovery instead.
Tests are passing except for diff parser tests.
This commit is contained in:
1 parent
b367058af6
commit
814b16cc6c
10 files changed
+73
-96
No files matched your search
@@ -63,7 +63,7 @@ class TestsFunctionAndLambdaParsing(object):
|
||||
|
||||
def test_end_pos_line():
|
||||
# jedi issue #150
|
||||
s = "x()\nx( )\nx( )\nx ( )"
|
||||
s = "x()\nx( )\nx( )\nx ( )\n"
|
||||
module = parse(s)
|
||||
for i, simple_stmt in enumerate(module.children[:-1]):
|
||||
expr_stmt = simple_stmt.children[0]
|
||||
|
||||
Reference in new issue
Block a user