summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecs.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-09 12:11:53 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-09 12:11:53 (GMT)
commit3633ce33012369ea79188aea20d795c3736ca5c6 (patch)
tree1ab21af13728b3896681a37122c6561d2246743b /Lib/test/test_codecs.py
parentdfe98a102ec8723d750f78ecda08a7adb9360eb1 (diff)
downloadcpython-3633ce33012369ea79188aea20d795c3736ca5c6.zip
cpython-3633ce33012369ea79188aea20d795c3736ca5c6.tar.gz
cpython-3633ce33012369ea79188aea20d795c3736ca5c6.tar.bz2
Issue #20571: skip test_readline() of test_codecs for Windows code page 65001.
The decoder does not support partial decoding yet for this code page.
Diffstat (limited to 'Lib/test/test_codecs.py')
-rw-r--r--Lib/test/test_codecs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
index 570539f..9b62d5b 100644
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -890,6 +890,9 @@ class CP65001Test(ReadTest, unittest.TestCase):
"\U00010fff\uD800")
self.assertTrue(codecs.lookup_error("surrogatepass"))
+ def test_readline(self):
+ self.skipTest("issue #20571: code page 65001 codec does not "
+ "support partial decoder yet")
class UTF7Test(ReadTest, unittest.TestCase):