Patchwork [05,of,10] tests: update test-glog to pass our import checker

login
register
mail settings
Submitter Augie Fackler
Date Aug. 28, 2017, 2:41 p.m.
Message ID <d628faa82545e767f568.1503931318@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/23406/
State Accepted
Headers show

Comments

Augie Fackler - Aug. 28, 2017, 2:41 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1503431478 14400
#      Tue Aug 22 15:51:18 2017 -0400
# Node ID d628faa82545e767f56850398b77500a7d576d12
# Parent  a3e63731e04c2a76937f7d40f905c7768a163167
tests: update test-glog to pass our import checker

Patch

diff --git a/tests/test-glog.t b/tests/test-glog.t
--- a/tests/test-glog.t
+++ b/tests/test-glog.t
@@ -82,7 +82,13 @@  o  (0) root
   > }
 
   $ 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):