changeset 43076 | 2372284d9457 |
parent 41213 | 704a3aa3dc0a |
child 48875 | 6000f5b25c9b |
--- a/tests/mockmakedate.py Sat Oct 05 10:29:34 2019 -0400 +++ b/tests/mockmakedate.py Sun Oct 06 09:45:02 2019 -0400 @@ -7,6 +7,7 @@ from mercurial import pycompat from mercurial.utils import dateutil + def mockmakedate(): filename = os.path.join(os.environ['TESTTMP'], 'testtime') try: @@ -18,4 +19,5 @@ timef.write(pycompat.bytestr(time)) return (time, 0) + dateutil.makedate = mockmakedate