# HG changeset patch # User Matt Harbison # Date 2024-12-16 07:10:46 # Node ID 5cf81d8d7de1a79300f80131f11438638a25da2d # Parent 5a924cb07768946f09a38f3bad772ee8fef6f653 tests: byteify an `error.Abort` message in test-wireproto.py Caught by PyCharm. diff --git a/tests/test-wireproto.py b/tests/test-wireproto.py --- a/tests/test-wireproto.py +++ b/tests/test-wireproto.py @@ -66,7 +66,7 @@ class clientpeer(wireprotov1peer.wirepee 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))