mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-19 19:01:24 +08:00
Make the prefix parsing a bit simpler by combining tabs and spaces.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user