]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-122320: Limit dict key versions used by test_opcache. (gh-132961)
authorNeil Schemenauer <nas-github@arctrix.com>
Mon, 28 Apr 2025 19:54:55 +0000 (12:54 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Apr 2025 19:54:55 +0000 (12:54 -0700)
commit22f0730d40c9534672f745f35cf876ad63d450bb
treeabda628fabbabb11501cffcb73afc0cdead8efec
parent336322b34137d90b0db19545c09a77f050ba8de0
gh-122320: Limit dict key versions used by test_opcache. (gh-132961)

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.
Lib/test/test_opcache.py
Modules/_testinternalcapi.c
Modules/clinic/_testinternalcapi.c.h