Commit 933b6f78 authored by Thomas Heller's avatar Thomas Heller

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

parent 6322181c
......@@ -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():
......
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