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

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Feb 12 21:48:27 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2e1d3924fa5b: py3: add missing b'' literal to sshprotoext.py (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2173?vs=5474&id=5596

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, pulkit
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list