Submitter | Augie Fackler |
---|---|
Date | May 11, 2018, 4:55 a.m. |
Message ID | <aaba341a89374e364598.1526014511@imladris.local> |
Download | mbox | patch |
Permalink | /patch/31485/ |
State | Accepted |
Headers | show |
Comments
On Fri, 11 May 2018 00:55:11 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler <augie@google.com> > # Date 1526014221 14400 > # Fri May 11 00:50:21 2018 -0400 > # Node ID aaba341a89374e364598b9fd27262a9003d4feac > # Parent 5f3bad9e4193c9f1a63bfe858602cc8645250669 > tests: fix deprecation warning in test-url.py Queued, thanks.
Patch
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