changeset 33970:a65f928e47d5

tests: update test-obsolete to pass our import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 16:58:52 -0400
parents cefad71d1a45
children dcfa83652744
files tests/test-obsolete.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)