-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
test_tkinter
fails on refleak run due to support
confusion
#105077
Labels
type-bug
An unexpected behavior, bug, or error
Comments
zware
added a commit
to zware/cpython
that referenced
this issue
May 30, 2023
Use specific symbols from `test.support` to avoid having `support` overwritten by `test_tkinter`'s own `support` submodule.
zware
added a commit
that referenced
this issue
May 30, 2023
Use specific symbols from `test.support` to avoid having `support` overwritten by `test_tkinter`'s own `support` submodule.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 30, 2023
Use specific symbols from `test.support` to avoid having `support` overwritten by `test_tkinter`'s own `support` submodule. (cherry picked from commit 5454db4) Co-authored-by: Zachary Ware <zach@python.org>
zware
pushed a commit
that referenced
this issue
May 30, 2023
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Bug report
When running the refleak test runner (
-R
),test_tkinter
fails on the second run due toAttributeError: module 'test.test_tkinter.support' has no attribute 'load_package_tests'
. This is becausetest_tkinter
has its ownsupport
module, which when imported overwrites thesupport
attribute set inLib/test/test_tkinter/__init__.py
. That module should instead import specific symbols fromtest.support
and use them directly.Your environment
main
,3.12
Linked PRs
The text was updated successfully, but these errors were encountered: