cpython/Lib/test/test_json
Chris Wesseling 815dad42d5
bpo-45644: Make json.tool read infile before writing to outfile (GH-29273)
so that

$ python -m json.tool foo.json foo.json

doesn't result in an empty foo.json.

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
2021-11-06 18:11:35 +01:00
..
__init__.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
__main__.py
test_decode.py bpo-39377: json: Remove the encoding option. (GH-18075) 2020-01-20 13:54:00 +09:00
test_default.py
test_dump.py bpo-37805: Add tests for json.dump(..., skipkeys=True) (GH-15489) 2019-08-26 00:04:35 -07:00
test_encode_basestring_ascii.py
test_enum.py
test_fail.py bpo-24641: Improved error message for JSON unserializible keys. (#4364) 2017-11-25 17:38:20 +02:00
test_float.py
test_indent.py
test_pass1.py
test_pass2.py
test_pass3.py
test_recursion.py bpo-40462: Fix typo in test_json (GH-20094) 2020-05-15 01:02:10 +02:00
test_scanstring.py
test_separators.py
test_speedups.py bpo-45269: test wrong markers type to c_make_encoder (GH-28540) 2021-09-28 23:18:00 +02:00
test_tool.py bpo-45644: Make json.tool read infile before writing to outfile (GH-29273) 2021-11-06 18:11:35 +01:00
test_unicode.py Issue #28541: Improve test coverage for encoding detection in json library. 2016-10-30 23:00:01 +02:00