Make the prefix parsing a bit simpler by combining tabs and spaces.

This commit is contained in:
Dave Halter
2017-06-07 17:23:07 +02:00
parent 9365ffc932
commit 34aabd6b47
3 changed files with 9 additions and 8 deletions

View File

@@ -42,6 +42,8 @@ def test_simple_prefix_splitting(string, tokens):
('\r\n', ['newline']),
('\f', ['formfeed']),
('\\\n', ['backslash']),
(' \t', ['indentation']),
(' \t ', ['indentation']),
])
def test_prefix_splitting_types(string, types):
tree = parso.parse(string)