Mercurial > public > mercurial-scm > hg
changeset 52519:5cf81d8d7de1
tests: byteify an `error.Abort` message in test-wireproto.py
Caught by PyCharm.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 16 Dec 2024 02:10:46 -0500 |
parents | 5a924cb07768 |
children | 1554bd50a1af |
files | tests/test-wireproto.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-wireproto.py Mon Dec 16 01:55:41 2024 -0500 +++ b/tests/test-wireproto.py Mon Dec 16 02:10:46 2024 -0500 @@ -66,7 +66,7 @@ elif isinstance(res, bytes): return res else: - raise error.Abort('dummy client does not support response type') + raise error.Abort(b'dummy client does not support response type') def _callstream(self, cmd, **args): return stringio(self._call(cmd, **args))