fix test failure in addMultilingualName() test by setting mac to None, which makes it behave like before
This commit is contained in:
parent
8841d98652
commit
0d06fd23ce
@ -93,12 +93,12 @@ class NameTableTest(unittest.TestCase):
|
||||
"en": "Width",
|
||||
"de-CH": "Breite",
|
||||
"gsw-LI": "Bräiti",
|
||||
}, ttFont=font)
|
||||
}, ttFont=font, mac=False)
|
||||
self.assertEqual(widthID, 256)
|
||||
xHeightID = nameTable.addMultilingualName({
|
||||
"en": "X-Height",
|
||||
"gsw-LI": "X-Hööchi"
|
||||
}, ttFont=font)
|
||||
}, ttFont=font, mac=False)
|
||||
self.assertEqual(xHeightID, 257)
|
||||
captor.assertRegex("cannot add Windows name in language gsw-LI")
|
||||
self.assertEqual(names(nameTable), [
|
||||
|
Loading…
x
Reference in New Issue
Block a user