[New-bugs-announce] [issue46616] test_importlib leaves stray registry entries on Windows

Steve Dower report at bugs.python.org
Wed Feb 2 13:14:06 EST 2022


New submission from Steve Dower <steve.dower at python.org>:

When running test_importlib.test_windows, it may create registry keys that previously didn't exist. These keys are not fully cleaned up.

Detect if the full key is created and then delete it after the test. If it existed, only delete the specific test key.

----------
assignee: steve.dower
components: Windows
messages: 412388
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: test_importlib leaves stray registry entries on Windows
type: behavior
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46616>
_______________________________________


More information about the New-bugs-announce mailing list