tests/test-journal.t
changeset 36607 c6061cadb400
parent 29870 6d11ae3c4c4b
child 37120 a8a902d7176e
--- a/tests/test-journal.t	Thu Feb 08 23:27:24 2018 +0530
+++ b/tests/test-journal.t	Thu Feb 15 17:18:26 2018 +0100
@@ -4,6 +4,7 @@
   > # mock out util.getuser() and util.makedate() to supply testable values
   > import os
   > from mercurial import util
+  > from mercurial.utils import dateutil
   > def mockgetuser():
   >     return 'foobar'
   > 
@@ -19,7 +20,7 @@
   >     return (time, 0)
   > 
   > util.getuser = mockgetuser
-  > util.makedate = mockmakedate
+  > dateutil.makedate = mockmakedate
   > EOF
 
   $ cat >> $HGRCPATH << EOF