instancer_test: read expected test file with unix newlines '\n'

or windows isn't happy..
This commit is contained in:
Cosimo Lupo 2019-05-31 20:03:52 +01:00
parent 8c3bfe5475
commit 11b73034d7
No known key found for this signature in database
GPG Key ID: 20D4A261E4A0E642

View File

@ -1123,6 +1123,7 @@ def _get_expected_instance_ttx(wght, wdth):
),
"r",
encoding="utf-8",
newline="\n",
) as fp:
return _strip_ttLibVersion(fp.read())