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