changeset 29199 | daff05dcd184 |
parent 28905 | c969c72d6cbc |
child 29246 | 8dbfd3befbd7 |
--- a/tests/run-tests.py Tue May 10 22:52:26 2016 +0000 +++ b/tests/run-tests.py Thu May 05 23:17:19 2016 +0000 @@ -1836,7 +1836,8 @@ tres = {'result': res} outcome[tc.name] = tres - jsonout = json.dumps(outcome, sort_keys=True, indent=4) + out = json.dumps(outcome, sort_keys=True, indent=4) + jsonout = '\n'.join([l.rstrip() for l in out.splitlines()]) fp.writelines(("testreport =", jsonout)) self._runner._checkhglib('Tested')