]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-151678: Add tests for tkinter.filedialog (GH-151781) (GH-151796)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 20 Jun 2026 14:21:43 +0000 (16:21 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 14:21:43 +0000 (14:21 +0000)
commit5090fbcc6fcd27575ccf9a12fb0374e34443c52a
treea760f1a61c2fe1bf95173e3d1420cfe98ac3efd5
parent80c9fe2a96bbd8df343f8d37cd160b5695d58442
[3.14] gh-151678: Add tests for tkinter.filedialog (GH-151781) (GH-151796)

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]