diff -r ce307af030a2 -r 0a10f142299d tests/test-parse-date.t --- a/tests/test-parse-date.t Sat May 19 18:42:18 2018 +0530 +++ b/tests/test-parse-date.t Sat May 19 18:43:13 2018 +0530 @@ -243,8 +243,8 @@ >>> today = datetime.date.today().strftime("%b %d") >>> yesterday = (datetime.date.today() - datetime.timedelta(days=1)).strftime("%b %d") >>> dates = open('dates', 'w') - >>> dates.write(today + '\n') - >>> dates.write(yesterday + '\n') + >>> dates.write(today + '\n') and None + >>> dates.write(yesterday + '\n') and None >>> dates.close() $ hg ci -d "`sed -n '1p' dates`" -m "today is a good day to code" $ hg log -d today --template '{desc}\n'