diff --git a/test/runner/lib/test.py b/test/runner/lib/test.py index ae9167785d..857a5b24a2 100644 --- a/test/runner/lib/test.py +++ b/test/runner/lib/test.py @@ -202,7 +202,7 @@ class TestTimeout(TestResult): path = self.create_path('junit', '.xml') with open(path, 'w') as junit_fd: - junit_fd.write(xml) + junit_fd.write(xml.lstrip()) class TestSuccess(TestResult):