tests/test-url.py
changeset 45687 223296268c4e
parent 45682 d2e1dcd4490d
child 46907 ffd3e823a7e5
--- 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: