Fix the test; solution found by Christian Heimes. Thanks!

This commit is contained in:
Thomas Heller 2007-07-11 19:34:54 +00:00
parent f5af466d3a
commit acb470c05f
1 changed files with 2 additions and 2 deletions

View File

@ -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():