py3: silence f.write() in test-annotate.t
authorYuya Nishihara <yuya@tcha.org>
Sat, 10 Mar 2018 16:55:54 +0900
changeset 36827 12492794bf8c
parent 36826 e5b14f5b8b94
child 36828 80da79b6fbe4
py3: silence f.write() in test-annotate.t
tests/test-annotate.t
--- 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"