diff options
-rw-r--r-- | Lib/test/test_codecs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py index 15cd687..8328a22 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, |