# HG changeset patch # User Augie Fackler # Date 2018-05-11 04:50:21 # Node ID d088810c496e4b18c3506b8253667300000dd077 # Parent 9482498b96b0820f50259071205ad7a275b5fdbc tests: fix deprecation warning in test-url.py diff --git a/tests/test-url.py b/tests/test-url.py --- a/tests/test-url.py +++ b/tests/test-url.py @@ -237,7 +237,8 @@ check(_verifycert({'subject': (((u'commo def test_url(): """ >>> from mercurial import error, pycompat - >>> from mercurial.util import forcebytestr, url + >>> from mercurial.util import url + >>> from mercurial.utils.stringutil import forcebytestr This tests for edge cases in url.URL's parsing algorithm. Most of these aren't useful for documentation purposes, so they aren't