Commit acb470c0 authored by Thomas Heller's avatar Thomas Heller

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

parent f5af466d
...@@ -9,11 +9,11 @@ class PEP263Test(unittest.TestCase): ...@@ -9,11 +9,11 @@ class PEP263Test(unittest.TestCase):
def test_pep263(self): def test_pep263(self):
self.assertEqual( self.assertEqual(
"".encode("utf-8"), "".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( self.assertEqual(
"\".encode("utf-8"), "\".encode("utf-8"),
'\\\xd0\x9f' b'\\\xd0\x9f'
) )
def test_main(): def test_main():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment