#16476: merge with 3.2.
This commit is contained in:
commit
4cee810f5d
|
@ -31,7 +31,8 @@ def main():
|
|||
except ValueError as e:
|
||||
raise SystemExit(e)
|
||||
with outfile:
|
||||
json.dump(obj, outfile, sort_keys=True, indent=4)
|
||||
json.dump(obj, outfile, sort_keys=True,
|
||||
indent=4, separators=(',', ': '))
|
||||
outfile.write('\n')
|
||||
|
||||
|
||||
|
|
|
@ -19,19 +19,19 @@ class TestTool(unittest.TestCase):
|
|||
[
|
||||
[
|
||||
"blorpie"
|
||||
],
|
||||
],
|
||||
[
|
||||
"whoops"
|
||||
],
|
||||
[],
|
||||
"d-shtaeou",
|
||||
"d-nthiouh",
|
||||
"i-vhbjkhnth",
|
||||
],
|
||||
[],
|
||||
"d-shtaeou",
|
||||
"d-nthiouh",
|
||||
"i-vhbjkhnth",
|
||||
{
|
||||
"nifty": 87
|
||||
},
|
||||
},
|
||||
{
|
||||
"field": "yes",
|
||||
"field": "yes",
|
||||
"morefield": false
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue