##// END OF EJS Templates
run-tests: use json.dumps(separators=)...
timeless -
r29246:8dbfd3be default
parent child Browse files
Show More
@@ -1836,8 +1836,8 b' class TextTestRunner(unittest.TextTestRu'
1836 tres = {'result': res}
1836 tres = {'result': res}
1837
1837
1838 outcome[tc.name] = tres
1838 outcome[tc.name] = tres
1839 out = json.dumps(outcome, sort_keys=True, indent=4)
1839 jsonout = json.dumps(outcome, sort_keys=True, indent=4,
1840 jsonout = '\n'.join([l.rstrip() for l in out.splitlines()])
1840 separators=(',', ': '))
1841 fp.writelines(("testreport =", jsonout))
1841 fp.writelines(("testreport =", jsonout))
1842
1842
1843 self._runner._checkhglib('Tested')
1843 self._runner._checkhglib('Tested')
General Comments 0
You need to be logged in to leave comments. Login now