summaryrefslogtreecommitdiff
path: root/scripts/common_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/common_tests.py')
-rw-r--r--scripts/common_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/common_tests.py b/scripts/common_tests.py
index f771819..ca37557 100644
--- a/scripts/common_tests.py
+++ b/scripts/common_tests.py
@@ -98,7 +98,7 @@ class TestMetaInfo(FontTest):
"""
for font in self.fonts:
font_name = font_data.font_name(font)
- bold = 'Bold' in font_name
+ bold = ('Bold' in font_name) or ('Black' in font_name)
italic = 'Italic' in font_name
expected_mac_style = (italic << 1) | bold
self.assertEqual(font['head'].macStyle, expected_mac_style)