tests: update test-glog to pass our import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 15:51:18 -0400
changeset 33957 04518bd58e8a
parent 33956 1be228b96030
child 33958 163b6b7f333c
tests: update test-glog to pass our import checker
tests/test-glog.t
--- a/tests/test-glog.t	Tue Aug 22 15:51:12 2017 -0400
+++ b/tests/test-glog.t	Tue Aug 22 15:51:18 2017 -0400
@@ -82,7 +82,13 @@
   > }
 
   $ cat > printrevset.py <<EOF
-  > from mercurial import extensions, revsetlang, commands, cmdutil
+  > from __future__ import absolute_import
+  > from mercurial import (
+  >   cmdutil,
+  >   commands,
+  >   extensions,
+  >   revsetlang,
+  > )
   > 
   > def uisetup(ui):
   >     def printrevset(orig, ui, repo, *pats, **opts):