Repository navigation
gh-161441: Fix tkinter and IDLE tests failing with new Tcl/Tk - #161442
serhiy-storchaka wants to merge 2 commits into
Conversation
* Generated events are not delivered to widgets whose window does not exist yet. Realize the widgets before generating events for them. * A named font whose name is a font description was never supported. Remove the check for it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
terryjreedy
left a comment
There was a problem hiding this comment.
This file is an anomaly in that there is no 'editmenu.py' being tested. It was added in 2016 (GH-49374) to test the new fix_x11_paste function (then in pyshell.py). I think it is too much a tkinter rather than IDLE test; it was never expanded to other menu entries (and I don't expect to do so here). I intend to sometime delete it.
The new claude-generated test_util.FixText.test_fix_x11_paste tests the tct code bound to . Quite clever, but I want to also extract at least 1 python test from here. Hence leave for now and fix it to pass on all Tks.
|
Failed tests (3): iOS (free-threading) test.test_io.test_bufferedio.CBufferedTypeTest.test_garbage_collection where Type in [Random, Reader, Writer]. |
🤖 Generated with Claude Code