diff --git a/boltons/strutils.py b/boltons/strutils.py index c14da97..f1ba91f 100644 --- a/boltons/strutils.py +++ b/boltons/strutils.py @@ -578,9 +578,9 @@ def gunzip_bytes(bytestring): use this one-liner. Use this tried-and-true utility function to decompress gzip from bytes. - >>> ungzip_bytes(_EMPTY_GZIP_BYTES) == b'' + >>> gunzip_bytes(_EMPTY_GZIP_BYTES) == b'' True - >>> ungzip_bytes(_NON_EMPTY_GZIP_BYTES).rstrip() == b'bytesahoy!' + >>> gunzip_bytes(_NON_EMPTY_GZIP_BYTES).rstrip() == b'bytesahoy!' True """ return zlib.decompress(bytestring, 16 + zlib.MAX_WBITS)