]> granicus.if.org Git - python/commitdiff
Issue #16764: Move NEWS entry to correct section and remove too strict test.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 18 Aug 2016 06:14:47 +0000 (09:14 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 18 Aug 2016 06:14:47 +0000 (09:14 +0300)
Lib/test/test_zlib.py
Misc/NEWS

index 4d72d6fdd0d9b5841b550a92abd7e52162f9b7cd..20174d8343f2b554b7ebe1f241f4c0321ed2bce0 100644 (file)
@@ -173,10 +173,6 @@ class CompressTestCase(BaseCompressTestCase, unittest.TestCase):
                                          wbits=zlib.MAX_WBITS,
                                          bufsize=zlib.DEF_BUF_SIZE),
                          HAMLET_SCENE)
-        with self.assertRaises(TypeError):
-            zlib.decompress(data=x,
-                            wbits=zlib.MAX_WBITS,
-                            bufsize=zlib.DEF_BUF_SIZE)
 
     def test_speech128(self):
         # compress more data
index efa0f76229b47153131027c4f411d0c41995b34e..2246f225c23f2a589aaf540589a6bf1c188b7503 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,9 +24,6 @@ What's New in Python 3.6.0 alpha 4
 Core and Builtins
 -----------------
 
-- Issue #16764: Support keyword arguments to zlib.decompress().  Patch by
-  Xiang Zhang.
-
 - Issue #27704: Optimized creating bytes and bytearray from byte-like objects
   and iterables.  Speed up to 3 times for short objects.  Original patch by
   Naoki Inada.
@@ -71,6 +68,9 @@ Core and Builtins
 Library
 -------
 
+- Issue #16764: Support keyword arguments to zlib.decompress().  Patch by
+  Xiang Zhang.
+
 - Issue #27736: Prevent segfault after interpreter re-initialization due
   to ref count problem introduced in code for Issue #27038 in 3.6.0a3.
   Patch by Xiang Zhang.