[pens_test] fix test_stats test

This test would have failed with the incorrect count.
This commit is contained in:
Cosimo Lupo 2017-10-25 19:05:40 +01:00
parent 13abea3ca5
commit c21ee24eec

View File

@ -69,8 +69,8 @@ class _TestPenMixin(object):
self.convert_glyph(source, stats=stats)
self.assertTrue(stats)
self.assertTrue('4' in stats)
self.assertEqual(type(stats['4']), int)
self.assertTrue('1' in stats)
self.assertEqual(type(stats['1']), int)
def test_addComponent(self):
pen = self.Pen()