minor: fix 4-space indentation from PR 2441
This commit is contained in:
parent
de58709fd3
commit
8d6a7617a2
@ -692,7 +692,9 @@ class ColrV1Test(unittest.TestCase):
|
|||||||
self.font = FakeFont(['.notdef', 'meh'])
|
self.font = FakeFont(['.notdef', 'meh'])
|
||||||
|
|
||||||
def test_traverseEmptyPaintColrLayersNeedsNoLayerList(self):
|
def test_traverseEmptyPaintColrLayersNeedsNoLayerList(self):
|
||||||
colr = parseXmlInto(self.font, otTables.COLR(),
|
colr = parseXmlInto(
|
||||||
|
self.font,
|
||||||
|
otTables.COLR(),
|
||||||
'''
|
'''
|
||||||
<Version value="1"/>
|
<Version value="1"/>
|
||||||
<BaseGlyphList>
|
<BaseGlyphList>
|
||||||
@ -704,7 +706,8 @@ class ColrV1Test(unittest.TestCase):
|
|||||||
</Paint>
|
</Paint>
|
||||||
</BaseGlyphPaintRecord>
|
</BaseGlyphPaintRecord>
|
||||||
</BaseGlyphList>
|
</BaseGlyphList>
|
||||||
''')
|
''',
|
||||||
|
)
|
||||||
paint = colr.BaseGlyphList.BaseGlyphPaintRecord[0].Paint
|
paint = colr.BaseGlyphList.BaseGlyphPaintRecord[0].Paint
|
||||||
|
|
||||||
# Just want to confirm we don't crash
|
# Just want to confirm we don't crash
|
||||||
@ -713,7 +716,6 @@ class ColrV1Test(unittest.TestCase):
|
|||||||
assert len(visited) == 1
|
assert len(visited) == 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import sys
|
import sys
|
||||||
sys.exit(unittest.main())
|
sys.exit(unittest.main())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user