# HG changeset patch # User Martin von Zweigbergk # Date 1602256134 25200 # Node ID 223296268c4e2105b031666d2159b94b8b53a2e0 # Parent 17a12f53dd72d39ce62721a0a43b681d4b4b4bb8 tests: fix test-url.py on py3, broken by D9179 Differential Revision: https://phab.mercurial-scm.org/D9180 diff -r 17a12f53dd72 -r 223296268c4e tests/test-url.py --- a/tests/test-url.py Thu Oct 08 16:14:06 2020 +0200 +++ b/tests/test-url.py Fri Oct 09 08:08:54 2020 -0700 @@ -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: