-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
When running the refleak test runner (-R
), test_tkinter
fails on the second run due to AttributeError: module 'test.test_tkinter.support' has no attribute 'load_package_tests'
. This is because test_tkinter
has its own support
module, which when imported overwrites the support
attribute set in Lib/test/test_tkinter/__init__.py
. That module should instead import specific symbols from test.support
and use them directly.
Your environment
- CPython versions tested on:
main
,3.12
- Operating system and architecture: Windows, Linux, any other
Linked PRs
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error