# HG changeset patch # User Yuya Nishihara # Date 2016-04-05 14:18:52 # Node ID d26c4af2797809bc8cbd3a1e5777f18d783f34d8 # Parent efc739551c17cc7271630b2a57cfde46fcb0dd04 test-hg-parseurl: stop direct symbol import of mercurial.hg.parseurl diff --git a/tests/test-hg-parseurl.py b/tests/test-hg-parseurl.py --- a/tests/test-hg-parseurl.py +++ b/tests/test-hg-parseurl.py @@ -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')