Mercurial > hg-stable
changeset 33972:b9765319880e
tests: update test-dirstate to pass our import checker
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 22 Aug 2017 15:50:59 -0400 |
parents | 90981271a904 |
children | efa6a420ba57 |
files | tests/test-dirstate.t |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-dirstate.t Tue Aug 22 15:50:35 2017 -0400 +++ b/tests/test-dirstate.t Tue Aug 22 15:50:59 2017 -0400 @@ -66,7 +66,12 @@ coherent (issue4353) $ cat > ../dirstateexception.py <<EOF - > from mercurial import merge, extensions, error + > from __future__ import absolute_import + > from mercurial import ( + > error, + > extensions, + > merge, + > ) > > def wraprecordupdates(orig, repo, actions, branchmerge): > raise error.Abort("simulated error while recording dirstateupdates")