-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-33987: IDLE - use ttk Frame for ttk widgets #11395
Conversation
Left editor and help for later due to 'background' issue. See issue for more. |
I'm getting the same error on Ubuntu as on the CI.
If you want me to look into in more detail, let me know. |
Puzzling. I got same error running test_idle during development, made the change to test_searchbase to fix it, hit F5, and the test then passed (as is still does). I pushed -- without re-running test_idle. This equivalent to F5 in the file also passes.
The failure is on line 101, the first of two isinstance tests. So the issue is not doing two tests in one method. Commenting out 101 results in line 105 failing. These fail.
Adding a debug print verifies that frame is an instance of some ttk.Frame but that the test fails when there are two ttk.Frame classes. I have not found a single culprit in test_idle, and when I run it from an IDLE editor, there is no failure. After changing the test to a klutzy workaround, the three command lines above pass. |
See terryjreedy comment in issue 33987 pr 11395.
Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
GH-11419 is a backport of this pull request to the 3.7 branch. |
(cherry picked from commit aff0ada) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
https://bugs.python.org/issue33987