tests/test-annotate.t
changeset 37120 a8a902d7176e
parent 36985 66e64681e0a8
child 37280 435481393198
--- a/tests/test-annotate.t	Sat Mar 24 15:09:33 2018 +0900
+++ b/tests/test-annotate.t	Sat Mar 24 15:10:51 2018 +0900
@@ -910,9 +910,9 @@
 
   $ cat <<'EOF' >> "$TESTTMP/substcr.py"
   > import sys
-  > from mercurial import util
-  > util.setbinary(sys.stdin)
-  > util.setbinary(sys.stdout)
+  > from mercurial.utils import procutil
+  > procutil.setbinary(sys.stdin)
+  > procutil.setbinary(sys.stdout)
   > stdin = getattr(sys.stdin, 'buffer', sys.stdin)
   > stdout = getattr(sys.stdout, 'buffer', sys.stdout)
   > stdout.write(stdin.read().replace(b'\r', b'[CR]'))