diff tests/test-ui-config.py @ 28680:ae606bdedc3e

py3: make test-ui-config use absolute_import
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 29 Mar 2016 16:33:09 +0530
parents 328739ea70c3
children eda8b28e3b1b
line wrap: on
line diff
--- a/tests/test-ui-config.py	Tue Mar 29 16:29:21 2016 +0530
+++ b/tests/test-ui-config.py	Tue Mar 29 16:33:09 2016 +0530
@@ -1,4 +1,9 @@
-from mercurial import ui, dispatch, error
+from __future__ import absolute_import
+from mercurial import (
+    dispatch,
+    error,
+    ui,
+)
 
 testui = ui.ui()
 parsed = dispatch._parseconfig(testui, [