Mercurial > hg
comparison contrib/python-zstandard/tests/test_decompressor_fuzzing.py @ 51690:493034cc3265
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | 5e84a96d865b |
children | 7f0cb9ee0534 |
comparison
equal
deleted
inserted
replaced
51689:39e2b2d062c1 | 51690:493034cc3265 |
---|---|
351 read_sizes=strategies.data(), | 351 read_sizes=strategies.data(), |
352 ) | 352 ) |
353 def test_multiple_frames( | 353 def test_multiple_frames( |
354 self, originals, frame_count, level, source_read_size, read_sizes | 354 self, originals, frame_count, level, source_read_size, read_sizes |
355 ): | 355 ): |
356 | |
357 cctx = zstd.ZstdCompressor(level=level) | 356 cctx = zstd.ZstdCompressor(level=level) |
358 source = io.BytesIO() | 357 source = io.BytesIO() |
359 buffer = io.BytesIO() | 358 buffer = io.BytesIO() |
360 writer = cctx.stream_writer(buffer) | 359 writer = cctx.stream_writer(buffer) |
361 | 360 |