Tests for unicode identifiers (#2816)

This commit is contained in:
Shantanu 2022-01-28 00:16:25 -08:00 committed by GitHub
parent 777cae55b6
commit fda2561f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def test_idempotent_any_syntatically_valid_python(
dst_contents = black.format_str(src_contents, mode=mode)
except black.InvalidInput:
# This is a bug - if it's valid Python code, as above, Black should be
# able to cope with it. See issues #970, #1012, #1358, and #1557.
# able to cope with it. See issues #970, #1012
# TODO: remove this try-except block when issues are resolved.
return
except TokenError as e:

View File

@ -4,3 +4,6 @@
x󠄀 = 4
= 1
Q̇_per_meter = 4
A᧚ = 3
A፩ = 8