diff tests/test-wireproto.py @ 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 642e31cb55f0
children b52f2b365eff
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))