more whitespace

This commit is contained in:
Cosimo Lupo 2017-11-23 19:05:05 +01:00
parent f2a8c787b1
commit bd030f61c6

View File

@ -150,7 +150,6 @@ class TestXMLReader(unittest.TestCase):
expectedLangId = '0x409'
with tempfile.NamedTemporaryFile(delete=False) as tmp:
subFileData = (
'<ttFont ttLibVersion="3.15">'
'<name>'
@ -159,8 +158,9 @@ class TestXMLReader(unittest.TestCase):
'</namerecord>'
'</name>'
'</ttFont>'
)%(expectedNameID, expectedPlatform, expectedLangId, expectedContent)
) % (expectedNameID, expectedPlatform, expectedLangId, expectedContent)
tmp.write(subFileData.encode("utf-8"))
with tempfile.NamedTemporaryFile(delete=False) as tmp2:
fileData = (
'<ttFont ttLibVersion="3.15">'
@ -168,7 +168,7 @@ class TestXMLReader(unittest.TestCase):
'<namerecord src="%s"/>'
'</name>'
'</ttFont>'
)%(tmp.name)
) % tmp.name
tmp2.write(fileData.encode('utf-8'))
ttf = TTFont()