changeset 29246 | 8dbfd3befbd7 |
parent 29199 | daff05dcd184 |
child 29282 | 89822d7a9d5f |
--- a/tests/run-tests.py Thu May 26 01:57:34 2016 +0900 +++ b/tests/run-tests.py Thu May 26 02:35:44 2016 +0000 @@ -1836,8 +1836,8 @@ tres = {'result': res} outcome[tc.name] = tres - out = json.dumps(outcome, sort_keys=True, indent=4) - jsonout = '\n'.join([l.rstrip() for l in out.splitlines()]) + jsonout = json.dumps(outcome, sort_keys=True, indent=4, + separators=(',', ': ')) fp.writelines(("testreport =", jsonout)) self._runner._checkhglib('Tested')