From patchwork Mon Aug 28 14:42:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [08, of, 10] tests: update test-impexp-branch to pass our import checker From: Augie Fackler X-Patchwork-Id: 23409 Message-Id: <69f5d19e016bfcc438e4.1503931321@augie-macbookpro2.roam.corp.google.com> To: mercurial-devel@mercurial-scm.org Date: Mon, 28 Aug 2017 10:42:01 -0400 # HG changeset patch # User Augie Fackler # Date 1503431497 14400 # Tue Aug 22 15:51:37 2017 -0400 # Node ID 69f5d19e016bfcc438e45382b34d18eff4135f23 # Parent 14ed1e0fc6a984318a0b5111a4c2439e596061c2 tests: update test-impexp-branch to pass our import checker diff --git a/tests/test-impexp-branch.t b/tests/test-impexp-branch.t --- a/tests/test-impexp-branch.t +++ b/tests/test-impexp-branch.t @@ -2,7 +2,9 @@ $ echo 'strip =' >> $HGRCPATH $ cat >findbranch.py < import re, sys + > from __future__ import absolute_import + > import re + > import sys > > head_re = re.compile('^#(?:(?:\\s+([A-Za-z][A-Za-z0-9_]*)(?:\\s.*)?)|(?:\\s*))$') >