summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pep263.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-08-05 01:32:09 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-08-05 01:32:09 (GMT)
commit4c561b36a05d8b45ef9ac0ac7571f4a97dc2b42b (patch)
treefd4b426febc4cbe41c59ce8ae59395afacfd2137 /Lib/test/test_pep263.py
parent6782d6aa91d9412c5b5a2ee0c12083a9f15f65a7 (diff)
downloadcpython-4c561b36a05d8b45ef9ac0ac7571f4a97dc2b42b.zip
cpython-4c561b36a05d8b45ef9ac0ac7571f4a97dc2b42b.tar.gz
cpython-4c561b36a05d8b45ef9ac0ac7571f4a97dc2b42b.tar.bz2
Test whether a Cyrillic text correctly appears in a Unicode literal.
Diffstat (limited to 'Lib/test/test_pep263.py')
-rw-r--r--Lib/test/test_pep263.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_pep263.py b/Lib/test/test_pep263.py
new file mode 100644
index 0000000..b1ffc03
--- /dev/null
+++ b/Lib/test/test_pep263.py
@@ -0,0 +1,2 @@
+#! -*- coding: koi8-r -*-
+assert u"ðÉÔÏÎ".encode("utf-8") == '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'