]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-151678: Add tests for tkinter.filedialog (GH-151781) (GH-151797)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 20 Jun 2026 13:44:56 +0000 (15:44 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 13:44:56 +0000 (13:44 +0000)
commit9b503ae848778184c7308ca8d33f2aae96af4c66
tree44bba6af1f5bc6afe0cae0e7160ddbfa564399fc
parent88e213e4d0f3380d4550c72488a2ee9641dd33a1
[3.13] gh-151678: Add tests for tkinter.filedialog (GH-151781) (GH-151797)

Exercise the native dialogs (Open, SaveAs and Directory) through the
_test_callback seam without opening them, and test the pure-Python
FileDialog selection, filter and ok/cancel logic without entering its
modal loop.
(cherry picked from commit 58fd9ec3cfe0d588db97eb98c0dc7fdb0256be76)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_tkinter/test_filedialog.py [new file with mode: 0644]