diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py index 15cd687530a..8328a2209bf 100644 --- a/Lib/test/test_codecs.py +++ b/Lib/test/test_codecs.py @@ -925,7 +925,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): @@ -2217,6 +2217,7 @@ def test_main(): UTF16BETest, UTF8Test, UTF8SigTest, + EscapeDecodeTest, CP65001Test, UTF7Test, UTF16ExTest,