cpython/Lib/test/test_json
Miss Islington (bot) 24619962e0
[3.14] gh-140793: Improve documentatation and tests for the ensure_ascii option in the json module (GH-140906) (GH-141227)
* Document that ensure_ascii=True forces escaping not only non-ASCII, but also
  non-printable characters (the only affected ASCII character is U+007F).
* Ensure that the help output for the json module does not exceed 80
  columns (except one long line in an example and generated lines).
* Add more tests.
(cherry picked from commit 7e90bac3cc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-11-08 10:32:44 +00:00
..
__init__.py
__main__.py
test_decode.py
test_default.py
test_dump.py
test_encode_basestring_ascii.py
test_enum.py
test_fail.py
test_float.py
test_indent.py
test_pass1.py
test_pass2.py
test_pass3.py
test_recursion.py
test_scanstring.py
test_separators.py
test_speedups.py
test_tool.py
test_unicode.py