diff options
author | Thomas Heller <theller@ctypes.org> | 2007-07-11 19:34:54 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-07-11 19:34:54 (GMT) |
commit | acb470c05ffc3fd1191f948fd5708fa91e8e2e8b (patch) | |
tree | 9f5c2b0a9c993aba14d121710f0a3dbe12b36192 /Lib/test/test_pep263.py | |
parent | f5af466d3a3f848b218462e463622ed8333be1f0 (diff) | |
download | cpython-acb470c05ffc3fd1191f948fd5708fa91e8e2e8b.zip cpython-acb470c05ffc3fd1191f948fd5708fa91e8e2e8b.tar.gz cpython-acb470c05ffc3fd1191f948fd5708fa91e8e2e8b.tar.bz2 |
Fix the test; solution found by Christian Heimes. Thanks!
Diffstat (limited to 'Lib/test/test_pep263.py')
-rw-r--r-- | Lib/test/test_pep263.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pep263.py b/Lib/test/test_pep263.py index ae61af9..dd13558 100644 --- a/Lib/test/test_pep263.py +++ b/Lib/test/test_pep263.py @@ -9,11 +9,11 @@ class PEP263Test(unittest.TestCase): def test_pep263(self):
self.assertEqual(
"ðÉÔÏÎ".encode("utf-8"),
- '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'
+ b'\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'
)
self.assertEqual(
"\ð".encode("utf-8"),
- '\\\xd0\x9f'
+ b'\\\xd0\x9f'
)
def test_main():
|