--- a/tests/test-hgweb-auth.py Tue Apr 05 23:20:04 2016 +0900
+++ b/tests/test-hgweb-auth.py Tue Apr 05 23:21:17 2016 +0900
@@ -3,13 +3,11 @@
from mercurial import demandimport; demandimport.enable()
import urllib2
from mercurial import (
+ error,
ui as uimod,
url,
util,
)
-from mercurial.error import (
- Abort,
-)
class myui(uimod.ui):
def interactive(self):
@@ -48,7 +46,7 @@
if authinfo is not None:
pm.add_password(*authinfo)
print(' ', pm.find_user_password('test', u))
- except Abort:
+ except error.Abort:
print(' ','abort')
if not urls: