changeset 36827:12492794bf8c

py3: silence f.write() in test-annotate.t
author Yuya Nishihara <yuya@tcha.org>
date Sat, 10 Mar 2018 16:55:54 +0900
parents e5b14f5b8b94
children 80da79b6fbe4
files tests/test-annotate.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-annotate.t	Fri Mar 09 14:52:36 2018 -0800
+++ b/tests/test-annotate.t	Sat Mar 10 16:55:54 2018 +0900
@@ -914,10 +914,10 @@
   > EOF
 
   >>> with open('a', 'wb') as f:
-  ...     f.write(b'0a\r0b\r\n0c\r0d\r\n0e\n0f\n0g')
+  ...     f.write(b'0a\r0b\r\n0c\r0d\r\n0e\n0f\n0g') and None
   $ hg ci -qAm0
   >>> with open('a', 'wb') as f:
-  ...     f.write(b'0a\r0b\r\n1c\r1d\r\n0e\n1f\n0g')
+  ...     f.write(b'0a\r0b\r\n1c\r1d\r\n0e\n1f\n0g') and None
   $ hg ci -m1
 
   $ hg annotate -r0 a | $PYTHON "$TESTTMP/substcr.py"