summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-11-23 19:41:01 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-11-23 19:41:01 (GMT)
commit74a530d42dcd0d33587aed66d600a6687ce30cbd (patch)
tree6f240533380ed00aa761b06fcd39ad4ae6e6755a
parent84c7a3f3289ef786a756faf52c188d2b08c52f34 (diff)
downloadcpython-74a530d42dcd0d33587aed66d600a6687ce30cbd.zip
cpython-74a530d42dcd0d33587aed66d600a6687ce30cbd.tar.gz
cpython-74a530d42dcd0d33587aed66d600a6687ce30cbd.tar.bz2
Update character names.
-rw-r--r--Lib/test/test_codeccallbacks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_codeccallbacks.py b/Lib/test/test_codeccallbacks.py
index af6a5c0..9efbaf7 100644
--- a/Lib/test/test_codeccallbacks.py
+++ b/Lib/test/test_codeccallbacks.py
@@ -70,13 +70,13 @@ class CodecCallbackTest(unittest.TestCase):
"test.uninamereplace", uninamereplace)
sin = u"\xac\u1234\u20ac\u8000"
- sout = "\033[1mNOT SIGN, ETHIOPIC SYLLABLE SEE, EURO SIGN, 0x8000\033[0m"
+ sout = "\033[1mNOT SIGN, ETHIOPIC SYLLABLE SEE, EURO SIGN, CJK UNIFIED IDEOGRAPH-8000\033[0m"
self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout)
- sout = "\xac\033[1mETHIOPIC SYLLABLE SEE, EURO SIGN, 0x8000\033[0m"
+ sout = "\xac\033[1mETHIOPIC SYLLABLE SEE, EURO SIGN, CJK UNIFIED IDEOGRAPH-8000\033[0m"
self.assertEqual(sin.encode("latin-1", "test.uninamereplace"), sout)
- sout = "\xac\033[1mETHIOPIC SYLLABLE SEE\033[0m\xa4\033[1m0x8000\033[0m"
+ sout = "\xac\033[1mETHIOPIC SYLLABLE SEE\033[0m\xa4\033[1mCJK UNIFIED IDEOGRAPH-8000\033[0m"
self.assertEqual(sin.encode("iso-8859-15", "test.uninamereplace"), sout)
def test_backslashescape(self):