Patchwork D2173: py3: add missing b'' literal to sshprotoext.py

login
register
mail settings
Submitter phabricator
Date Feb. 12, 2018, 3:45 a.m.
Message ID <differential-rev-PHID-DREV-pghwtajgkecadkd3lfih-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/27639/
State Superseded
Headers show

Comments

phabricator - Feb. 12, 2018, 3:45 a.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Everywhere else in this file uses b''. I must have missed a line
  when I wrote this code a few days ago.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2173

AFFECTED FILES
  tests/sshprotoext.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel
phabricator - Feb. 12, 2018, 7:47 a.m.
pulkit accepted this revision.
pulkit added a comment.


  This needs # skip-blame in commit message.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2173

To: indygreg, #hg-reviewers, pulkit
Cc: pulkit, mercurial-devel

Patch

diff --git a/tests/sshprotoext.py b/tests/sshprotoext.py
--- a/tests/sshprotoext.py
+++ b/tests/sshprotoext.py
@@ -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.