From 5d3b4eb4c0c603d969485584cab180f33e4e8fe7 Mon Sep 17 00:00:00 2001 From: Jens Kutilek Date: Tue, 24 Jan 2017 16:23:06 +0100 Subject: [PATCH] Tell XMLWriter what newline character to use --- Tests/ttLib/tables/ttProgram_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ttLib/tables/ttProgram_test.py b/Tests/ttLib/tables/ttProgram_test.py index 384cefba8..9a7d232c2 100644 --- a/Tests/ttLib/tables/ttProgram_test.py +++ b/Tests/ttLib/tables/ttProgram_test.py @@ -106,7 +106,7 @@ class ProgramTest(unittest.TestCase): p.fromBytecode(BYTECODE) ttfont = TestFont() buf = UnicodeIO() - writer = XMLWriter(buf) + writer = XMLWriter(buf, newlinestr='\n') try: p.toXML(writer, ttfont) finally: