# HG changeset patch # User Martin von Zweigbergk # Date 1605909332 28800 # Node ID 68260c444fd351851131fa076aaf672b3e193600 # Parent e5a0efd26f7aced809b846b3e46d41c589c03b0d errors: let ParseError use Abort.__bytes__ The function is no longer used anywhere as far as our tests can tell, so there's no need to have a custom version of it. Differential Revision: https://phab.mercurial-scm.org/D9353 diff -r e5a0efd26f7a -r 68260c444fd3 mercurial/error.py --- a/mercurial/error.py Fri Nov 20 10:31:56 2020 -0800 +++ b/mercurial/error.py Fri Nov 20 13:55:32 2020 -0800 @@ -272,8 +272,6 @@ else: Exception.__init__(self, message) - __bytes__ = _tobytes - def format(self): from .i18n import _