We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81a1bd7 commit cc34f8eCopy full SHA for cc34f8e
Lib/test/test_zstd.py
@@ -2673,9 +2673,9 @@ def test_compress_locking(self):
2673
input = b'a'* (16*_1K)
2674
num_threads = 8
2675
2676
- # gh-136394: the first output of comp.compress includes the frame header
2677
- # so it is different than the others
2678
- # this is why it is added outside of the threading part
+ # gh-136394: the first output of .compress() includes the frame header
+ # we run the first .compress() call outside of the threaded portion
+ # to make the test order-independent
2679
2680
comp = ZstdCompressor()
2681
parts = [comp.compress(input, ZstdCompressor.FLUSH_BLOCK)]
0 commit comments