From: Ezio Melotti Date: Fri, 11 Jan 2013 03:54:57 +0000 (+0200) Subject: Enable a broken test and fix it. X-Git-Tag: v3.3.1rc1~390^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26ed234052db568379efd2cc00d5850dd00b13f7;p=python Enable a broken test and fix it. --- diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py index 4c58b2df2b..acf9f64b6b 100644 --- a/Lib/test/test_codecs.py +++ b/Lib/test/test_codecs.py @@ -803,7 +803,7 @@ class UTF8SigTest(ReadTest): class EscapeDecodeTest(unittest.TestCase): def test_empty(self): - self.assertEqual(codecs.escape_decode(""), ("", 0)) + self.assertEqual(codecs.escape_decode(""), (b"", 0)) class RecodingTest(unittest.TestCase): def test_recoding(self): @@ -1905,6 +1905,7 @@ def test_main(): UTF16BETest, UTF8Test, UTF8SigTest, + EscapeDecodeTest, UTF7Test, UTF16ExTest, ReadBufferTest,