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

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

Comments

Augie Fackler - Aug. 28, 2017, 2:42 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1503431490 14400
#      Tue Aug 22 15:51:30 2017 -0400
# Node ID 14ed1e0fc6a984318a0b5111a4c2439e596061c2
# Parent  31aa4a34ea4eb6578c7dd7bf3628909f415d3b4a
tests: update test-help to pass our import checker

Patch

diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -1516,8 +1516,8 @@  Test omit indicating for help
   > 
   > This paragraph is never omitted, too (for extension)
   > '''
-  > 
-  > from mercurial import help, commands
+  > from __future__ import absolute_import
+  > from mercurial import commands, help
   > testtopic = """This paragraph is never omitted (for topic).
   > 
   > .. container:: verbose