[Python-checkins] cpython (3.2): Enable a broken test and fix it.
ezio.melotti
python-checkins at python.org
Fri Jan 11 05:06:12 CET 2013
http://hg.python.org/cpython/rev/65e55d86f2e6
changeset: 81381:65e55d86f2e6
branch: 3.2
parent: 81374:b8b26feb3e1a
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Fri Jan 11 05:54:57 2013 +0200
summary:
Enable a broken test and fix it.
files:
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
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -803,7 +803,7 @@
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 @@
UTF16BETest,
UTF8Test,
UTF8SigTest,
+ EscapeDecodeTest,
UTF7Test,
UTF16ExTest,
ReadBufferTest,
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list