# HG changeset patch # User Augie Fackler # Date 1526014221 14400 # Node ID d088810c496e4b18c3506b8253667300000dd077 # Parent 9482498b96b0820f50259071205ad7a275b5fdbc tests: fix deprecation warning in test-url.py diff -r 9482498b96b0 -r d088810c496e tests/test-url.py --- a/tests/test-url.py Tue Apr 03 23:34:55 2018 +0900 +++ b/tests/test-url.py Fri May 11 00:50:21 2018 -0400 @@ -237,7 +237,8 @@ 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