mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
bpo-30968: Fix test_get_font in IDLE's test_config. (#2769)
This commit is contained in:
parent
856cbcc12f
commit
9f9192afbb
1 changed files with 1 additions and 1 deletions
|
|
@ -608,7 +608,7 @@ def test_get_font(self):
|
|||
f = Font.actual(Font(name='TkFixedFont', exists=True, root=root))
|
||||
self.assertEqual(
|
||||
conf.GetFont(root, 'main', 'EditorWindow'),
|
||||
(f['family'], 10 if f['size'] < 10 else f['size'], f['weight']))
|
||||
(f['family'], 10 if f['size'] <= 0 else f['size'], f['weight']))
|
||||
|
||||
# Cleanup root
|
||||
root.destroy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue