tests: update test-obsolete to pass our import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 16:58:52 -0400
changeset 33970 a65f928e47d5
parent 33969 cefad71d1a45
child 33971 dcfa83652744
tests: update test-obsolete to pass our import checker
tests/test-obsolete.t
--- a/tests/test-obsolete.t	Tue Aug 22 16:58:47 2017 -0400
+++ b/tests/test-obsolete.t	Tue Aug 22 16:58:52 2017 -0400
@@ -1207,8 +1207,9 @@
 Test heads computation on pending index changes with obsolescence markers
   $ cd ..
   $ cat >$TESTTMP/test_extension.py  << EOF
+  > from __future__ import absolute_import
+  > from mercurial.i18n import _
   > from mercurial import cmdutil, registrar
-  > from mercurial.i18n import _
   > 
   > cmdtable = {}
   > command = registrar.command(cmdtable)