Update _compression, gzip, and test_gzip for CPython v3.11.2 by tdub0 · Pull Request #4688 · RustPython/RustPython
Updated _compression.py to match CPython v3.11.2. I didn't see any immediate unit test for this, so it seemed fit to test using a library that relies on _compression.py. I updated gzip.py / test_gzip.py and accounted for the unexpected failures on test_gzip.py.
The failures were primarily wbit errors tracing to stdlib/src/zlib.rs, but I am not familiar enough with this module in rust to correct the issues.