mirror of https://github.com/python/cpython
Enable a broken test and fix it.
This commit is contained in:
parent
3f7beb99dd
commit
26ed234052
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue