# HG changeset patch # User Yuya Nishihara # Date 2018-03-10 07:55:54 # Node ID 12492794bf8cf112e717e513d00419e8caf7befa # Parent e5b14f5b8b94c33e54900289acde796dc2c9d74e py3: silence f.write() in test-annotate.t diff --git a/tests/test-annotate.t b/tests/test-annotate.t --- a/tests/test-annotate.t +++ b/tests/test-annotate.t @@ -914,10 +914,10 @@ Annotate with orphaned CR (issue5798) > 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"