commit | 2412853f8e65f7c4359ebf59902ad2553589b908 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Mon Sep 09 06:17:05 2002 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Mon Sep 09 06:17:05 2002 +0000 |
tree | aebb566a44b270af74495836065973125bb9e89f | |
parent | 8a64d40949fdd6adf2a25559b50f0cc7c229ab1f [diff] |
Fix escaping of non-ASCII characters.
diff --git a/Lib/test/test_pep263.py b/Lib/test/test_pep263.py index b1ffc03..7cc5526 100644 --- a/Lib/test/test_pep263.py +++ b/Lib/test/test_pep263.py
@@ -1,2 +1,3 @@ #! -*- coding: koi8-r -*- assert u"ðÉÔÏÎ".encode("utf-8") == '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd' +assert u"\ð".encode("utf-8") == '\\\xd0\x9f'