[Updated] D9180: tests: fix test-url.py on py3, broken by D9179
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Sat Oct 10 06:18:21 UTC 2020
Closed by commit rHG223296268c4e: tests: fix test-url.py on py3, broken by D9179 (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D9180?vs=23152&id=23162
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D9180/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D9180
AFFECTED FILES
tests/test-url.py
CHANGE DETAILS
diff --git a/tests/test-url.py b/tests/test-url.py
--- a/tests/test-url.py
+++ b/tests/test-url.py
@@ -392,7 +392,7 @@
>>> try:
... u = url(b'file://mercurial-scm.org/foo')
... except error.Abort as e:
- ... e.message
+ ... pycompat.bytestr(e.message)
'file:// URLs can only refer to localhost'
Empty URL:
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201010/9011a613/attachment-0002.html>
More information about the Mercurial-patches
mailing list