tests/test-http-branchmap.t
changeset 38031 37ef6ee87488
parent 38030 69779a222d5e
--- a/tests/test-http-branchmap.t	Sun May 13 11:08:35 2018 +0900
+++ b/tests/test-http-branchmap.t	Sun May 13 11:09:53 2018 +0900
@@ -59,7 +59,7 @@
 
   $ cat <<EOF > oldhg
   > import threading
-  > from mercurial import hg, ui, wireprotoserver
+  > from mercurial import dispatch, hg, ui, wireprotoserver
   > 
   > class StdoutWrapper(object):
   >     def __init__(self, stdout):
@@ -77,6 +77,7 @@
   >     def __getattr__(self, name):
   >         return getattr(self._file, name)
   > 
+  > dispatch.initstdio()
   > myui = ui.ui.load()
   > fout = StdoutWrapper(myui.fout)
   > myui.fout = myui.ferr