tests/mockblackbox.py
changeset 37120 a8a902d7176e
parent 36105 f49c3ee5b02f
child 43076 2372284d9457
--- a/tests/mockblackbox.py	Sat Mar 24 15:09:33 2018 +0900
+++ b/tests/mockblackbox.py	Sat Mar 24 15:10:51 2018 +0900
@@ -1,6 +1,6 @@
 from __future__ import absolute_import
-from mercurial import (
-    util,
+from mercurial.utils import (
+    procutil,
 )
 
 # XXX: we should probably offer a devel option to do this in blackbox directly
@@ -11,5 +11,5 @@
 
 # mock the date and user apis so the output is always the same
 def uisetup(ui):
-    util.getuser = getuser
-    util.getpid = getpid
+    procutil.getuser = getuser
+    procutil.getpid = getpid