Mercurial > public > mercurial-scm > hg
diff tests/test-sshserver.py @ 37120:a8a902d7176e
procutil: bulk-replace function calls to point to new module
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 24 Mar 2018 15:10:51 +0900 |
parents | 3b3a987bbbaa |
children | b4d85bc122bd |
line wrap: on
line diff
--- a/tests/test-sshserver.py Sat Mar 24 15:09:33 2018 +0900 +++ b/tests/test-sshserver.py Sat Mar 24 15:10:51 2018 +0900 @@ -6,11 +6,14 @@ import silenttestrunner from mercurial import ( - util, wireproto, wireprotoserver, ) +from mercurial.utils import ( + procutil, +) + class SSHServerGetArgsTests(unittest.TestCase): def testparseknown(self): tests = [ @@ -46,5 +49,5 @@ if __name__ == '__main__': # Don't call into msvcrt to set BytesIO to binary mode - util.setbinary = lambda fp: True + procutil.setbinary = lambda fp: True silenttestrunner.main(__name__)