diff options
author | Damien George <damien@micropython.org> | 2025-04-17 10:20:33 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-04-24 22:33:05 +1000 |
commit | dcca3ff602c821e5b252cbe44e669806b0a6f416 (patch) | |
tree | 95ede98597dad783793e0a7b6877d33f1cf24b6f /tests/basics/list_slice_assign.py | |
parent | 584fa8800b833b53c6d6f9eb7572774a67304d2f (diff) | |
download | micropython-dcca3ff602c821e5b252cbe44e669806b0a6f416.tar.gz micropython-dcca3ff602c821e5b252cbe44e669806b0a6f416.zip |
tools/mpremote: Use zlib.compressobj instead of zlib.compress.
Because the `wbits` parameter was only added to `zlib.compress` in
CPython 3.11. Using `zlib.compressobj` makes the code compatible with much
older CPython versions.
Fixes issue #17140.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/list_slice_assign.py')
0 files changed, 0 insertions, 0 deletions