]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-153422: Assert bool return type in tkinter tests (GH-153429) (GH-153439...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 10 Jul 2026 17:05:14 +0000 (19:05 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2026 17:05:14 +0000 (17:05 +0000)
commite7f42be4e970f8313a59e871d0703d03ca8d96c4
tree93ab8bacb4b641fcffd632df7529f28cc4ce7bdd
parent62eb50d65d538dda5164f9c4a097a896454a0d1c
[3.13] gh-153422: Assert bool return type in tkinter tests (GH-153429) (GH-153439) (GH-153443)

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