diff --git a/tests/test-profile.t b/tests/test-profile.t --- a/tests/test-profile.t +++ b/tests/test-profile.t @@ -117,11 +117,14 @@ $ cat > fooprof.py < from __future__ import absolute_import > import contextlib + > import sys > @contextlib.contextmanager > def profile(ui, fp): > print('fooprof: start profile') + > sys.stdout.flush() > yield > print('fooprof: end profile') + > sys.stdout.flush() > def extsetup(ui): > ui.write(b'fooprof: loaded\n') > EOF