tests/test-url.py
changeset 45682 d2e1dcd4490d
parent 43076 2372284d9457
child 45687 223296268c4e
--- a/tests/test-url.py	Thu Oct 08 15:35:44 2020 -0700
+++ b/tests/test-url.py	Thu Oct 08 13:37:31 2020 -0700
@@ -392,7 +392,7 @@
     >>> try:
     ...   u = url(b'file://mercurial-scm.org/foo')
     ... except error.Abort as e:
-    ...   forcebytestr(e)
+    ...   e.message
     'file:// URLs can only refer to localhost'
 
     Empty URL: