summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_json/test_tool.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.8] bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779). (GH-18894)Dong-hee Na2020-03-101-0/+11
| | | | | | | (cherry picked from commit 700cb587303461d5a96456c56902cfdd8ad50e2d) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> Automerge-Triggered-By: @vstinner
* bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460)Miss Islington (bot)2019-12-041-3/+18
| | | | | (cherry picked from commit 808769f3a4cbdc47cf1a5708dd61b1787bb192d4) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-31553: add --json-lines option to json.tool (#10051)HongWeipeng2018-11-071-0/+29
| | | | | | | | | | * add jsonlines option to json.tool * code review * fix:avoid read infile after it close * improve doc in whatsnew 3.8
* Fix stderr bug in json.tool test (#346)Daniel Himmelstein2017-03-151-5/+4
| | | See https://github.com/python/cpython/pull/201#discussion_r103229425.
* Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-061-1/+1
| | | | Patch by Christie Wilson.
* Issue #21650: Add an `--sort-keys` option to json.tool CLI.Berker Peksag2014-11-101-1/+32
|
* improve the command-line interface of json.tool (closes #21000)Benjamin Peterson2014-03-221-0/+8
| | | | A patch from Berker Peksag.
* #18273: move the tests in Lib/test/json_tests to Lib/test/test_json and make ↵Ezio Melotti2013-08-081-0/+69
them discoverable by unittest. Patch by Zachary Ware.