[woff2_test] fix test failing in py3
This commit is contained in:
parent
4c8960bb9a
commit
ebb64da7c0
@ -409,7 +409,7 @@ class WOFF2WriterTest(unittest.TestCase):
|
|||||||
def test_tables_sorted_alphabetically(self):
|
def test_tables_sorted_alphabetically(self):
|
||||||
expected = sorted([t for t in self.tags if t != 'DSIG'])
|
expected = sorted([t for t in self.tags if t != 'DSIG'])
|
||||||
woff2font = ttLib.TTFont(self.file)
|
woff2font = ttLib.TTFont(self.file)
|
||||||
self.assertEqual(expected, woff2font.reader.keys())
|
self.assertEqual(expected, list(woff2font.reader.keys()))
|
||||||
|
|
||||||
def test_checksums(self):
|
def test_checksums(self):
|
||||||
normFile = BytesIO(normalise_font(self.font, padding=4))
|
normFile = BytesIO(normalise_font(self.font, padding=4))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user