mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Test whether a Cyrillic text correctly appears in a Unicode literal.
This commit is contained in:
parent
6782d6aa91
commit
4c561b36a0
1 changed files with 2 additions and 0 deletions
2
Lib/test/test_pep263.py
Normal file
2
Lib/test/test_pep263.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
#! -*- coding: koi8-r -*-
|
||||
assert u"ðÉÔÏÎ".encode("utf-8") == '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'
|
Loading…
Add table
Add a link
Reference in a new issue