Skip to content

Commit cc34f8e

Browse files
committed
Reword comment based on Emma suggestion
1 parent 81a1bd7 commit cc34f8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_zstd.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,9 +2673,9 @@ def test_compress_locking(self):
26732673
input = b'a'* (16*_1K)
26742674
num_threads = 8
26752675

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
2676+
# gh-136394: the first output of .compress() includes the frame header
2677+
# we run the first .compress() call outside of the threaded portion
2678+
# to make the test order-independent
26792679

26802680
comp = ZstdCompressor()
26812681
parts = [comp.compress(input, ZstdCompressor.FLUSH_BLOCK)]

0 commit comments

Comments
 (0)