py/objstr: Make string formatting 8-bit clean.
This commit is contained in:
4
tests/unicode/unicode_str_format.py
Normal file
4
tests/unicode/unicode_str_format.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# test handling of unicode chars in format strings
|
||||
|
||||
print('α'.format())
|
||||
print('{α}'.format(α=1))
|
||||
Reference in New Issue
Block a user