Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 11 commits into from Jul 20, 2017
2 changes: 1 addition & 1 deletion Lib/idlelib/idle_test/test_config.py
Expand Up @@ -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()
Expand Down