mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 21:35:58 +00:00
9 lines
237 B
Python
9 lines
237 B
Python
"""Test that unicode identifiers are NFKC-normalised"""
|
||
|
||
𝒞 = 500
|
||
print(𝒞)
|
||
print(C + 𝒞) # 2 references to the same variable due to NFKC normalization
|
||
print(C / 𝒞)
|
||
print(C == 𝑪 == 𝒞 == 𝓒 == 𝕮)
|
||
|
||
print(𝒟) # F821
|