Show More
@@ -7,6 +7,7 b' import silenttestrunner' | |||||
7 |
|
7 | |||
8 | from mercurial import ( |
|
8 | from mercurial import ( | |
9 | sshserver, |
|
9 | sshserver, | |
|
10 | util, | |||
10 | wireproto, |
|
11 | wireproto, | |
11 | ) |
|
12 | ) | |
12 |
|
13 | |||
@@ -41,4 +42,6 b' class mockui(object):' | |||||
41 | self.ferr = io.BytesIO() |
|
42 | self.ferr = io.BytesIO() | |
42 |
|
43 | |||
43 | if __name__ == '__main__': |
|
44 | if __name__ == '__main__': | |
|
45 | # Don't call into msvcrt to set BytesIO to binary mode | |||
|
46 | util.setbinary = lambda fp: True | |||
44 | silenttestrunner.main(__name__) |
|
47 | silenttestrunner.main(__name__) |
General Comments 0
You need to be logged in to leave comments.
Login now