Mercurial > hg-stable
diff tests/test-url.py @ 45682:d2e1dcd4490d
errors: name arguments to Abort constructor
Differential Revision: https://phab.mercurial-scm.org/D9179
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 08 Oct 2020 13:37:31 -0700 |
parents | 2372284d9457 |
children | 223296268c4e |
line wrap: on
line diff
--- 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: