# HG changeset patch # User Yuya Nishihara # Date 1519937847 18000 # Node ID 106e93d16435487fbbb56d0e29dce79032a6eea1 # Parent c6a7b99f150a72d317cc763042091af09e9a23c9 py3: silence return value of file.write() in test-command-template.t diff -r c6a7b99f150a -r 106e93d16435 tests/test-command-template.t --- a/tests/test-command-template.t Thu Mar 01 18:05:47 2018 -0500 +++ b/tests/test-command-template.t Thu Mar 01 15:57:27 2018 -0500 @@ -2219,7 +2219,7 @@ >>> import datetime >>> fp = open('a', 'wb') >>> n = datetime.datetime.now() + datetime.timedelta(366 * 7) - >>> fp.write(b'%d-%d-%d 00:00' % (n.year, n.month, n.day)) + >>> fp.write(b'%d-%d-%d 00:00' % (n.year, n.month, n.day)) and None >>> fp.close() $ hg add a $ hg commit -m future -d "`cat a`"