##// 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 tres = {'result': res}
1836 tres = {'result': res}
1837
1837
1838 outcome[tc.name] = tres
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 fp.writelines(("testreport =", jsonout))
1841 fp.writelines(("testreport =", jsonout))
1841
1842
1842 self._runner._checkhglib('Tested')
1843 self._runner._checkhglib('Tested')
@@ -586,7 +586,7 b" Missing skips or blacklisted skips don't"
586 testreport ={
586 testreport ={
587 "test-bogus.t": {
587 "test-bogus.t": {
588 "result": "skip"
588 "result": "skip"
589 },
589 },
590 "test-failure.t": {
590 "test-failure.t": {
591 "result": "skip"
591 "result": "skip"
592 }
592 }
General Comments 0
You need to be logged in to leave comments. Login now