summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-01-11 03:54:57 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-01-11 03:54:57 (GMT)
commit26ed234052db568379efd2cc00d5850dd00b13f7 (patch)
tree0b03fa2c3d3146f83c54fc6ace6b636383661589
parent3f7beb99dd456dd2b8de45a5cb0e1afdf228a262 (diff)
downloadcpython-26ed234052db568379efd2cc00d5850dd00b13f7.zip
cpython-26ed234052db568379efd2cc00d5850dd00b13f7.tar.gz
cpython-26ed234052db568379efd2cc00d5850dd00b13f7.tar.bz2
Enable a broken test and fix it.
-rw-r--r--Lib/test/test_codecs.py3
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,