changeset 39729:56cb053a71ed

py3: suppress the output on .write() calls in tests/test-hgweb-commands.t Differential Revision: https://phab.mercurial-scm.org/D4676
author Pulkit Goyal <pulkit@yandex-team.ru>
date Thu, 20 Sep 2018 18:36:00 +0300
parents ce4c29705983
children 65b39c556c6d
files tests/test-hgweb-commands.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t	Thu Sep 20 18:35:24 2018 +0300
+++ b/tests/test-hgweb-commands.t	Thu Sep 20 18:36:00 2018 +0300
@@ -26,7 +26,7 @@
   $ hg ci -Ambranch
   $ hg branch unstable
   marked working directory as branch unstable
-  >>> open('msg', 'wb').write(b'branch commit with null character: \0\n')
+  >>> open('msg', 'wb').write(b'branch commit with null character: \0\n') and None
   $ hg ci -l msg
   $ rm msg