diff options
author | Guido van Rossum <guido@python.org> | 2023-07-06 15:45:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 15:45:56 -0700 |
commit | 76fac7bce55302a8e9a524d72f5384fd89e6dfde (patch) | |
tree | 6ecdbd5e8168c24ad71269961ce20469aa091107 /Lib/test/_test_multiprocessing.py | |
parent | 67a798888dcde13bbb1e17cfcc3c742c94e67a07 (diff) | |
download | cpython-76fac7bce55302a8e9a524d72f5384fd89e6dfde.tar.gz cpython-76fac7bce55302a8e9a524d72f5384fd89e6dfde.zip |
gh-104584: Clean up and fix uops tests and fix crash (#106492)
The uops test wasn't testing anything by default,
and was failing when run with -Xuops.
Made the two executor-related context managers global,
so TestUops can use them (notably `with temporary_optimizer(opt)`).
Made clear_executor() a little more thorough.
Fixed a crash upon finalizing a uop optimizer,
by adding a `tp_dealloc` handler.
Diffstat (limited to 'Lib/test/_test_multiprocessing.py')
0 files changed, 0 insertions, 0 deletions