tests: byteify an `error.Abort` message in test-wireproto.py
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 16 Dec 2024 02:10:46 -0500
changeset 52519 5cf81d8d7de1
parent 52518 5a924cb07768
child 52520 1554bd50a1af
tests: byteify an `error.Abort` message in test-wireproto.py Caught by PyCharm.
tests/test-wireproto.py
--- 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))