Skip to content

gh-136315: Fix skipped multithreading test in test_zstd #136320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2025

Conversation

emmatyping
Copy link
Member

@emmatyping emmatyping commented Jul 5, 2025

@emmatyping emmatyping requested a review from gpshead July 5, 2025 17:07
@emmatyping emmatyping added skip news needs backport to 3.14 bugs and security fixes labels Jul 5, 2025
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Jul 5, 2025
Copy link
Contributor

@Rogdham Rogdham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

I can confirm that the test is now run:

$ ./python -c 'from compression.zstd import *; print(CompressionParameter.nb_workers.bounds() != (0, 0))'
True
$ ./python -m test.test_zstd -k test_zstd_multithread_compress -v
test_zstd_multithread_compress (__main__.CompressorTestCase.test_zstd_multithread_compress) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.229s

OK

@gpshead gpshead enabled auto-merge (squash) July 5, 2025 17:22
@gpshead gpshead merged commit 5dac137 into python:main Jul 5, 2025
55 checks passed
@miss-islington-app
Copy link

Thanks @emmatyping for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 5, 2025
…GH-136320)

Fix skipped test in test_zstd
(cherry picked from commit 5dac137)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
@bedevere-app
Copy link

bedevere-app bot commented Jul 5, 2025

GH-136322 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 5, 2025
gpshead pushed a commit that referenced this pull request Jul 5, 2025
…6320) (#136322)

gh-136315: Fix skipped multithreading test in test_zstd (GH-136320)

Fix skipped test in test_zstd
(cherry picked from commit 5dac137)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants