changeset 36122:7db243288afb

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 11 Feb 2018 19:24:27 -0800
parents 3a763d7f40e1
children 8eb13f5d5d3f
files tests/sshprotoext.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.