diff -r efc739551c17 -r d26c4af27978 tests/test-hg-parseurl.py --- a/tests/test-hg-parseurl.py Tue Apr 05 23:17:43 2016 +0900 +++ b/tests/test-hg-parseurl.py Tue Apr 05 23:18:52 2016 +0900 @@ -1,10 +1,11 @@ from __future__ import absolute_import, print_function -from mercurial.hg import ( - parseurl, + +from mercurial import ( + hg, ) def testparse(url, branch=[]): - print('%s, branches: %r' % parseurl(url, branch)) + print('%s, branches: %r' % hg.parseurl(url, branch)) testparse('http://example.com/no/anchor') testparse('http://example.com/an/anchor#foo')