diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-11 03:54:57 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-11 03:54:57 (GMT) |
commit | 26ed234052db568379efd2cc00d5850dd00b13f7 (patch) | |
tree | 0b03fa2c3d3146f83c54fc6ace6b636383661589 | |
parent | 3f7beb99dd456dd2b8de45a5cb0e1afdf228a262 (diff) | |
download | cpython-26ed234052db568379efd2cc00d5850dd00b13f7.zip cpython-26ed234052db568379efd2cc00d5850dd00b13f7.tar.gz cpython-26ed234052db568379efd2cc00d5850dd00b13f7.tar.bz2 |
Enable a broken test and fix it.
-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 4c58b2d..acf9f64 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, |