]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-153422: Assert bool return type in tkinter tests (GH-153429) (GH-153439...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jul 2026 15:45:11 +0000 (17:45 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 15:45:11 +0000 (15:45 +0000)
commitb1064ed0a3d15a4fcb4ce9cafa7c6a49fd42be15
tree9133cf9e2c5d61e688ea78e29a1b13ce9f993b0b
parent8b6f7329fd3ee5eb510781a5dfecdb7f0631a3ca
[3.14] gh-153422: Assert bool return type in tkinter tests (GH-153429) (GH-153439) (GH-153442)

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".
(cherry picked from commit 1604c80008d72b4c9a5bd789900ecf9aff402c1e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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