Skip to content

Commit

Permalink
Tests for unicode identifiers (#2816)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Jan 28, 2022
1 parent 777cae5 commit fda2561
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions tests/data/tricky_unicode_symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
x󠄀 = 4
មុ = 1
Q̇_per_meter = 4

A᧚ = 3
A፩ = 8

0 comments on commit fda2561

Please sign in to comment.