Commit 06ff8914 authored by Ezio Melotti's avatar Ezio Melotti

Enable a broken test and fix it.

parent b7e2a713
...@@ -803,7 +803,7 @@ class UTF8SigTest(ReadTest): ...@@ -803,7 +803,7 @@ class UTF8SigTest(ReadTest):
class EscapeDecodeTest(unittest.TestCase): class EscapeDecodeTest(unittest.TestCase):
def test_empty(self): def test_empty(self):
self.assertEqual(codecs.escape_decode(""), ("", 0)) self.assertEqual(codecs.escape_decode(""), (b"", 0))
class RecodingTest(unittest.TestCase): class RecodingTest(unittest.TestCase):
def test_recoding(self): def test_recoding(self):
...@@ -1905,6 +1905,7 @@ def test_main(): ...@@ -1905,6 +1905,7 @@ def test_main():
UTF16BETest, UTF16BETest,
UTF8Test, UTF8Test,
UTF8SigTest, UTF8SigTest,
EscapeDecodeTest,
UTF7Test, UTF7Test,
UTF16ExTest, UTF16ExTest,
ReadBufferTest, ReadBufferTest,
......
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