From ddee8db6a8cb3fbaca40c025ec01d66322e72659 Mon Sep 17 00:00:00 2001 From: Masaori Koshiba Date: Fri, 31 Jan 2020 08:20:40 +0900 Subject: [PATCH] Remove trailing white space from json formatter --- tests/gold_tests/h2/httpbin.test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gold_tests/h2/httpbin.test.py b/tests/gold_tests/h2/httpbin.test.py index d77fcc282be..11d4a518178 100644 --- a/tests/gold_tests/h2/httpbin.test.py +++ b/tests/gold_tests/h2/httpbin.test.py @@ -80,7 +80,7 @@ # TODO: when httpbin 0.8.0 or later is released, remove below json pretty print hack json_printer = ''' -python -c "import sys,json; print(json.dumps(json.load(sys.stdin), indent=2))" +python -c "import sys,json; print(json.dumps(json.load(sys.stdin), indent=2, separators=(',', ': ')))" ''' # ----