Mercurial > hg
comparison contrib/python-zstandard/tests/test_decompressor_fuzzing.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
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 | |
356 cctx = zstd.ZstdCompressor(level=level) | 357 cctx = zstd.ZstdCompressor(level=level) |
357 source = io.BytesIO() | 358 source = io.BytesIO() |
358 buffer = io.BytesIO() | 359 buffer = io.BytesIO() |
359 writer = cctx.stream_writer(buffer) | 360 writer = cctx.stream_writer(buffer) |
360 | 361 |