diff tests/test-minirst.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 3d24f708f7b6
children a2a5d4ad5276
line wrap: on
line diff
--- a/tests/test-minirst.py	Thu May 10 21:00:58 2018 +0900
+++ b/tests/test-minirst.py	Thu May 10 21:08:32 2018 +0900
@@ -18,7 +18,7 @@
     if type(out) == tuple:
         print(out[0][:-1].decode('utf8'))
         print("-" * 70)
-        print(stringutil.pprint(out[1], bprefix=False).decode('utf8'))
+        print(stringutil.pprint(out[1]).decode('utf8'))
     else:
         print(out[:-1].decode('utf8'))
     print("-" * 70)