python/tests/decompress_test.py


Log

Author Commit Date CI Message
Evgenii Kliuchnikov 9686382f 2025-09-24T03:52:03 PY: continue renovation of extension Fixed unchecked malloc for "tail" input data. Fixed inconsistencies in docstrings. Rewritten "growable buffer" to C-code, so it could run without acquiring GIL. Breaking changes: - native object allocation failures now handled at object creation time - some lower level exceptions (e.g. OOM) are not shadowed by brotli.error PiperOrigin-RevId: 810813664
Justin Ridgewell 5805f99a 2018-11-12T04:36:00 Ensure decompression consumes all input (#730) * Ensure decompression consumes all input If not, it's a corrupt stream. * Use byte strings
Alex Nicksay 89a5b6e6 2016-12-20T08:40:47 Python: Simplify test suite generation by using unittest discovery (#485)
Alex Nicksay 1e5ea6ae 2016-11-09T06:21:13 Python: Add unit tests for brotli.compress and brotli.decompress (#467) Also - rename `test_utils` to `_test_utils` - refactor shared code into `_test_utils`