summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecs.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-01-11 03:57:58 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-01-11 03:57:58 (GMT)
commite0b87edd7f6a4893cd814186d8484a88a3649317 (patch)
tree7e25a5e9265f80c83002621bcec9c63d1bff1365 /Lib/test/test_codecs.py
parent90bbbd11648e8d64013369a595b982788fa89819 (diff)
parent26ed234052db568379efd2cc00d5850dd00b13f7 (diff)
downloadcpython-e0b87edd7f6a4893cd814186d8484a88a3649317.zip
cpython-e0b87edd7f6a4893cd814186d8484a88a3649317.tar.gz
cpython-e0b87edd7f6a4893cd814186d8484a88a3649317.tar.bz2
Merge fix for broken/disabled test.
Diffstat (limited to 'Lib/test/test_codecs.py')
-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 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,