builder_test: open with UTF-8 encoding to fix failing Appveyor tests
https://ci.appveyor.com/project/fonttools/fonttools/build/1.0.259/job/yi83cj0hhid3asb8
This commit is contained in:
parent
3c2cc8e6aa
commit
934cbd72be
@ -135,7 +135,7 @@ class BuilderTest(unittest.TestCase):
|
||||
p = Parser(f)
|
||||
doc = p.parse()
|
||||
tlines = self.normal_fea(doc.asFea().split("\n"))
|
||||
with open(f) as ofile:
|
||||
with open(f, "r", encoding="utf-8") as ofile:
|
||||
olines = self.normal_fea(ofile.readlines())
|
||||
if olines != tlines:
|
||||
for line in difflib.unified_diff(olines, tlines):
|
||||
|
Loading…
x
Reference in New Issue
Block a user