summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-11-29 00:25:03 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-11-29 00:25:03 (GMT)
commitb32512ed9a1ab9912a9e0bdbb609ca1a19949355 (patch)
tree0a50a9693de2d3048a93189ac4d26b9f875ca0e4 /Lib/test
parent057bcb4c6c7eef93066002db7ab486f12d50ccee (diff)
downloadcpython-b32512ed9a1ab9912a9e0bdbb609ca1a19949355.zip
cpython-b32512ed9a1ab9912a9e0bdbb609ca1a19949355.tar.gz
cpython-b32512ed9a1ab9912a9e0bdbb609ca1a19949355.tar.bz2
#16476: Fix json.tool to avoid including trailing whitespace.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/json_tests/test_tool.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/test/json_tests/test_tool.py b/Lib/test/json_tests/test_tool.py
index 8a3cc6f..1f2c8a2 100644
--- a/Lib/test/json_tests/test_tool.py
+++ b/Lib/test/json_tests/test_tool.py
@@ -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
}
]