[interpolatable] Fix assert

This commit is contained in:
Behdad Esfahbod 2022-04-01 14:36:03 -06:00
parent 86b5d7103d
commit f0214415cc

View File

@ -209,7 +209,7 @@ def test(glyphsets, glyphs=None, names=None):
if nodeVecs[0] == 'addComponent': if nodeVecs[0] == 'addComponent':
continue continue
assert nodeVecs[0] == 'moveTo' assert nodeVecs[0] == 'moveTo'
assert nodeVecs[-1] == 'closePath' assert nodeVecs[-1] in ('closePath', 'endPath')
points = RecordingPointPen() points = RecordingPointPen()
converter = SegmentToPointPen(points, False) converter = SegmentToPointPen(points, False)
contour.replay(converter) contour.replay(converter)