py3: suppress the output on .write() calls in tests/test-hgweb-commands.t
Differential Revision: https://phab.mercurial-scm.org/D4676
--- 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