[PATCH 07 of 10] tests: update test-help to pass our import checker
Augie Fackler
raf at durin42.com
Mon Aug 28 14:42:00 UTC 2017
# HG changeset patch
# User Augie Fackler <raf at 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
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
More information about the Mercurial-devel
mailing list