author | Matt Harbison <matt_harbison@yahoo.com> |
Sat, 20 Jan 2018 14:21:40 -0500 | |
changeset 35772 | 7764ff13318e |
parent 35771 | ebb75443969a |
child 35773 | eb878d863195 |
--- a/tests/test-sshserver.py Sat Jan 20 14:02:05 2018 -0500 +++ b/tests/test-sshserver.py Sat Jan 20 14:21:40 2018 -0500 @@ -7,6 +7,7 @@ from mercurial import ( sshserver, + util, wireproto, ) @@ -41,4 +42,6 @@ self.ferr = io.BytesIO() if __name__ == '__main__': + # Don't call into msvcrt to set BytesIO to binary mode + util.setbinary = lambda fp: True silenttestrunner.main(__name__)