8000 gh-103685: Fix tkinter.Menu.index() for Tk 8.7 by chrstphrchvz · Pull Request #103686 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-103685: Fix tkinter.Menu.index() for Tk 8.7 #103686

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

Merged
merged 7 commits into from
Apr 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test index(''), which currently fails.
  • Loading branch information
terryjreedy authored Apr 23, 2023
commit 4fc68f577e6bfa22494d20126cb2819a7e986f84
2 changes: 2 additions & 0 deletions Lib/test/test_tkinter/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,8 @@ def test_indexcommand_none(self):
widget = self.create()
i = widget.index('none')
self.assertIsNone(i)
i = widget.index('')
self.assertIsNone(i)

def test_configure_postcommand(self):
widget = self.create()
Expand Down
0