mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #15984: Merge PyUnicode doc from 3.5
This commit is contained in:
commit
cda80940ed
35 changed files with 64 additions and 70 deletions
|
@ -175,7 +175,7 @@ class CompressTestCase(BaseCompressTestCase, unittest.TestCase):
|
|||
self.assertEqual(zlib.decompress(ob), data)
|
||||
|
||||
def test_incomplete_stream(self):
|
||||
# An useful error message is given
|
||||
# A useful error message is given
|
||||
x = zlib.compress(HAMLET_SCENE)
|
||||
self.assertRaisesRegex(zlib.error,
|
||||
"Error -5 while decompressing data: incomplete or truncated stream",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue