Skip to content

gh-122320: Limit dict key versions used by test_opcache. #132961

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 4 commits into from
Apr 28, 2025

Conversation

nascheme
Copy link
Member

@nascheme nascheme commented Apr 25, 2025

The test_load_global_module() test consumes a lot of dict key versions. Skip the test if we have consumed half of the available versions that can be used for the "load global" cache.

This avoids the test_load_global_module() from failing as well, once the versions are exhausted.

The `test_load_global_module()` test consumes a lot of dict key versions.
Skip the test if we have consumed half of the available versions that can be
used for the "load global" cache.
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Apr 25, 2025
@nascheme nascheme marked this pull request as ready for review April 28, 2025 18:52
@nascheme nascheme merged commit 22f0730 into python:main Apr 28, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants