##// END OF EJS Templates
py3: silence f.write() in test-annotate.t
Yuya Nishihara -
r36845:12492794 default
parent child Browse files
Show More
@@ -914,10 +914,10 b' Annotate with orphaned CR (issue5798)'
914 > EOF
914 > EOF
915
915
916 >>> with open('a', 'wb') as f:
916 >>> with open('a', 'wb') as f:
917 ... f.write(b'0a\r0b\r\n0c\r0d\r\n0e\n0f\n0g')
917 ... f.write(b'0a\r0b\r\n0c\r0d\r\n0e\n0f\n0g') and None
918 $ hg ci -qAm0
918 $ hg ci -qAm0
919 >>> with open('a', 'wb') as f:
919 >>> with open('a', 'wb') as f:
920 ... f.write(b'0a\r0b\r\n1c\r1d\r\n0e\n1f\n0g')
920 ... f.write(b'0a\r0b\r\n1c\r1d\r\n0e\n1f\n0g') and None
921 $ hg ci -m1
921 $ hg ci -m1
922
922
923 $ hg annotate -r0 a | $PYTHON "$TESTTMP/substcr.py"
923 $ hg annotate -r0 a | $PYTHON "$TESTTMP/substcr.py"
General Comments 0
You need to be logged in to leave comments. Login now