mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-03 17:57:30 +08:00
Fix name tokenizing for Python 2
This commit is contained in:
1 parent
2b8544021f
commit
0a5b5f3346
3 files changed
+17
-6
No files matched your search
@@ -142,7 +142,7 @@ def test_identifier_contains_unicode():
|
||||
else:
|
||||
# Unicode tokens in Python 2 seem to be identified as operators.
|
||||
# They will be ignored in the parser, that's ok.
|
||||
assert unicode_token[0] == OP
|
||||
assert unicode_token[0] == ERRORTOKEN
|
||||
|
||||
|
||||
def test_quoted_strings():
|
||||
|
||||
Reference in new issue
Block a user