mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-19 20:27:04 +08:00
Fix a 2.7 error.
This commit is contained in:
1 parent
bf5190c7bf
commit
d52c8651d7
1 file changed
+1
-1
@@ -78,7 +78,7 @@ def test_python_exception_matches(code):
|
||||
|
||||
def test_statically_nested_blocks():
|
||||
def indent(code):
|
||||
lines = code.splitlines(keepends=True)
|
||||
lines = code.splitlines(True)
|
||||
return ''.join([' ' + line for line in lines])
|
||||
|
||||
def build(code, depth):
|
||||
|
||||
Reference in new issue
Block a user