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

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Feb 12 03:45:43 UTC 2018


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

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.



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


More information about the Mercurial-devel mailing list