summaryrefslogtreecommitdiff
path: root/Lib/test/test_codecencodings_hk.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-02 19:09:54 +0000
committerGuido van Rossum <guido@python.org>2007-05-02 19:09:54 +0000
commitef87d6ed94780fe00250a551031023aeb2898365 (patch)
tree1f8989aaaec7ec5f8b2f26498317f2022bf85531 /Lib/test/test_codecencodings_hk.py
parent572dbf8f1320c0b34b9c786e5c30ba4a4b61b292 (diff)
downloadcpython-git-ef87d6ed94780fe00250a551031023aeb2898365.tar.gz
Rip out all the u"..." literals and calls to unicode().
Diffstat (limited to 'Lib/test/test_codecencodings_hk.py')
-rw-r--r--Lib/test/test_codecencodings_hk.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_codecencodings_hk.py b/Lib/test/test_codecencodings_hk.py
index b1c260631f..32ade71c35 100644
--- a/Lib/test/test_codecencodings_hk.py
+++ b/Lib/test/test_codecencodings_hk.py
@@ -15,9 +15,9 @@ class Test_Big5HKSCS(test_multibytecodec_support.TestBase, unittest.TestCase):
# invalid bytes
("abc\x80\x80\xc1\xc4", "strict", None),
("abc\xc8", "strict", None),
- ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\u8b10"),
- ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\u8b10\ufffd"),
- ("abc\x80\x80\xc1\xc4", "ignore", u"abc\u8b10"),
+ ("abc\x80\x80\xc1\xc4", "replace", "abc\ufffd\u8b10"),
+ ("abc\x80\x80\xc1\xc4\xc8", "replace", "abc\ufffd\u8b10\ufffd"),
+ ("abc\x80\x80\xc1\xc4", "ignore", "abc\u8b10"),
)
def test_main():