diff tests/test-ui-config.py @ 37942:32bc3815efae

stringutil: flip the default of pprint() to bprefix=False If we use pprint() as a drop-in replacement for repr(), bprefix=False is more appropriate. Let's make it the default to remove bprefix=False noise.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 10 May 2018 21:08:32 +0900
parents a2cfea193040
children 2372284d9457
line wrap: on
line diff
--- a/tests/test-ui-config.py	Thu May 10 21:00:58 2018 +0900
+++ b/tests/test-ui-config.py	Thu May 10 21:08:32 2018 +0900
@@ -51,7 +51,7 @@
     ])
 
 def pprint(obj):
-    return stringutil.pprint(obj, bprefix=False).decode('ascii')
+    return stringutil.pprint(obj).decode('ascii')
 
 print(pprint(testui.configitems(b'values')))
 print(pprint(testui.configitems(b'lists')))