tests/test-template-functions.t
changeset 45055 4c1b4805db57
parent 44596 7333e8bb9781
child 45895 fc4fb2f17dd4
--- a/tests/test-template-functions.t	Mon Jul 06 10:30:55 2020 +0200
+++ b/tests/test-template-functions.t	Mon Jul 06 17:44:25 2020 +0200
@@ -1575,15 +1575,15 @@
   > from __future__ import absolute_import
   > from mercurial import (
   >     dispatch,
-  >     pycompat,
   > )
   > from mercurial.utils import (
   >     cborutil,
+  >     procutil,
   >     stringutil,
   > )
   > dispatch.initstdio()
-  > items = cborutil.decodeall(pycompat.stdin.read())
-  > pycompat.stdout.write(stringutil.pprint(items, indent=1) + b'\n')
+  > items = cborutil.decodeall(procutil.stdin.read())
+  > procutil.stdout.write(stringutil.pprint(items, indent=1) + b'\n')
   > EOF
 
   $ hg log -T "{rev|cbor}" -R a -l2 | "$PYTHON" "$TESTTMP/decodecbor.py"