tests/test-mq-qnew.t
changeset 26587 56b2bcea2529
parent 25454 b5a8bc09b0db
child 26614 ef1eb6df7071
--- a/tests/test-mq-qnew.t	Mon Oct 05 22:49:24 2015 -0700
+++ b/tests/test-mq-qnew.t	Thu Oct 08 12:55:45 2015 -0700
@@ -248,11 +248,11 @@
   $ cd repo
 
   $ cat > $TESTTMP/commitfailure.py <<EOF
-  > from mercurial import util
+  > from mercurial import error
   > def reposetup(ui, repo):
   >     class commitfailure(repo.__class__):
   >         def commit(self, *args, **kwargs):
-  >             raise util.Abort('emulating unexpected abort')
+  >             raise error.Abort('emulating unexpected abort')
   >     repo.__class__ = commitfailure
   > EOF
   $ cat >> .hg/hgrc <<EOF