From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Fri, 28 Jan 2022 08:16:25 +0000 (-0800) Subject: Tests for unicode identifiers (#2816) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/fda2561f79e10826dbdeb900b6124d642766229f Tests for unicode identifiers (#2816) --- diff --git a/fuzz.py b/fuzz.py index 09a86a2..f5f655e 100644 --- a/fuzz.py +++ b/fuzz.py @@ -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: diff --git a/tests/data/tricky_unicode_symbols.py b/tests/data/tricky_unicode_symbols.py index 366a92f..ad8b610 100644 --- a/tests/data/tricky_unicode_symbols.py +++ b/tests/data/tricky_unicode_symbols.py @@ -4,3 +4,6 @@ x󠄀 = 4 មុ = 1 Q̇_per_meter = 4 + +A᧚ = 3 +A፩ = 8