--- 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