changeset 28840:8717d4609ab3

tests: stop direct symbol import of pprint.pprint in tests-minirst
author Yuya Nishihara <yuya@tcha.org>
date Tue, 05 Apr 2016 23:22:38 +0900
parents de7802c3a1df
children e155b8d5e3b7
files tests/test-minirst.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)