]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-153422: Assert bool return type in tkinter tests (GH-153429) (GH-153439)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 9 Jul 2026 15:16:50 +0000 (18:16 +0300)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 15:16:50 +0000 (15:16 +0000)
commit1604c80008d72b4c9a5bd789900ecf9aff402c1e
treeaf6d8c684683b0ce8bbf3034587ed3b7af6b01b6
parentc42d55c8b830ec915733a53b50549ab6430c478c
[3.15] gh-153422: Assert bool return type in tkinter tests (GH-153429) (GH-153439)

The tests for PhotoImage.transparency_get(), Text.debug() and
Treeview.exists() now assert the exact bool type, and the documentation
and docstrings use "true"/"false" instead of "1"/"0".

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/tkinter.rst
Lib/test/test_tkinter/test_images.py
Lib/test/test_tkinter/test_text.py
Lib/test/test_ttk/test_widgets.py
Lib/tkinter/ttk.py