diff options
author | Georg Brandl <georg@python.org> | 2006-10-29 14:39:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-10-29 14:39:09 (GMT) |
commit | 2c9838e30f825b3bdaf0fc33f15a3cc74320ba6e (patch) | |
tree | e11a9246b8e41fd57ae9b19cc20de33937a6b33f /Lib/test/test_codecs.py | |
parent | 5b4e1c2530636eab196fb98ea8f49389ff419e28 (diff) | |
download | cpython-2c9838e30f825b3bdaf0fc33f15a3cc74320ba6e.zip cpython-2c9838e30f825b3bdaf0fc33f15a3cc74320ba6e.tar.gz cpython-2c9838e30f825b3bdaf0fc33f15a3cc74320ba6e.tar.bz2 |
Bug #1586613: fix zlib and bz2 codecs' incremental en/decoders.
Diffstat (limited to 'Lib/test/test_codecs.py')
-rw-r--r-- | Lib/test/test_codecs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py index fa52033..5c82d3f 100644 --- a/Lib/test/test_codecs.py +++ b/Lib/test/test_codecs.py @@ -1062,6 +1062,7 @@ broken_unicode_with_streams = [ "punycode", "unicode_internal" ] +broken_incremental_coders = broken_unicode_with_streams[:] try: import bz2 @@ -1111,6 +1112,7 @@ class BasicUnicodeTest(unittest.TestCase): decodedresult += reader.read() self.assertEqual(decodedresult, s, "%r != %r (encoding=%r)" % (decodedresult, s, encoding)) + if encoding not in broken_incremental_coders: # check incremental decoder/encoder (fetched via the Python # and C API) and iterencode()/iterdecode() try: |