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