changeset 33975:04518bd58e8a

tests: update test-glog to pass our import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 15:51:18 -0400
parents 1be228b96030
children 163b6b7f333c
files tests/test-glog.t
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):