tests/test-sshserver.py
changeset 37120 a8a902d7176e
parent 36214 3b3a987bbbaa
child 37785 b4d85bc122bd
--- 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__)