]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-143990: Do not assume the requested font size in test_font (GH-153322)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 8 Jul 2026 12:12:20 +0000 (15:12 +0300)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2026 12:12:20 +0000 (12:12 +0000)
commit841e454e82553b733fd7522126ec9a59a4179771
tree5d422aca8d277d8d8d980bcf201eb672e9c0b6e3
parentfa5eafd19c3d395b4498e21b4e1b8faac2ebdb0a
gh-143990: Do not assume the requested font size in test_font (GH-153322)

On platforms with only bitmap fonts Tk substitutes the nearest
available size, so query the resolved size instead of assuming it.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_tkinter/test_font.py