py3: add missing b'' literal to sshprotoext.py
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 11 Feb 2018 19:24:27 -0800
changeset 36122 7db243288afb
parent 36121 3a763d7f40e1
child 36123 8eb13f5d5d3f
py3: add missing b'' literal to sshprotoext.py Everywhere else in this file uses b''. I must have missed a line when I wrote this code a few days ago. # skip-blame b prefix Differential Revision: https://phab.mercurial-scm.org/D2173
tests/sshprotoext.py
--- a/tests/sshprotoext.py	Sun Feb 11 19:11:17 2018 -0800
+++ b/tests/sshprotoext.py	Sun Feb 11 19:24:27 2018 -0800
@@ -68,7 +68,7 @@
         l = self._fin.readline()
         assert l == b'between\n'
         l = self._fin.readline()
-        assert l == 'pairs 81\n'
+        assert l == b'pairs 81\n'
         self._fin.read(81)
 
         # Send the upgrade response.