tests: stop direct symbol import of pprint.pprint in tests-minirst
authorYuya Nishihara <yuya@tcha.org>
Tue, 05 Apr 2016 23:22:38 +0900
changeset 28840 8717d4609ab3
parent 28839 de7802c3a1df
child 28841 e155b8d5e3b7
tests: stop direct symbol import of pprint.pprint in tests-minirst
tests/test-minirst.py
--- a/tests/test-minirst.py	Tue Apr 05 23:30:18 2016 +0900
+++ b/tests/test-minirst.py	Tue Apr 05 23:22:38 2016 +0900
@@ -1,7 +1,5 @@
 from __future__ import absolute_import, print_function
-from pprint import (
-    pprint,
-)
+import pprint
 from mercurial import (
     minirst,
 )
@@ -18,7 +16,7 @@
     if type(out) == tuple:
         print(out[0][:-1])
         print("-" * 70)
-        pprint(out[1])
+        pprint.pprint(out[1])
     else:
         print(out[:-1])
     print("-" * 70)