changeset 37999:d088810c496e

tests: fix deprecation warning in test-url.py
author Augie Fackler <augie@google.com>
date Fri, 11 May 2018 00:50:21 -0400
parents 9482498b96b0
children f1f8b655da32
files tests/test-url.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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