Kaydet (Commit) 9f9192af authored tarafından terryjreedy's avatar terryjreedy Kaydeden (comit) GitHub

bpo-30968: Fix test_get_font in IDLE's test_config. (#2769)

üst 856cbcc1
......@@ -608,7 +608,7 @@ class IdleConfTest(unittest.TestCase):
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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment