tests: fix deprecation warning in test-url.py
authorAugie Fackler <augie@google.com>
Fri, 11 May 2018 00:50:21 -0400
changeset 37955 d088810c496e
parent 37954 9482498b96b0
child 37956 f1f8b655da32
tests: fix deprecation warning in test-url.py
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