Mercurial > hg
diff tests/test-conflict.t @ 35949:80e5210df25c
py3: make sure we open the file in bytes mode
# skip-blame because we are just adding b
Differential Revision: https://phab.mercurial-scm.org/D2077
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 07 Feb 2018 13:49:02 +0530 |
parents | a36d3c8a0e41 |
children | 50f5fc232c16 |
line wrap: on
line diff
--- a/tests/test-conflict.t Wed Feb 07 13:47:03 2018 +0530 +++ b/tests/test-conflict.t Wed Feb 07 13:49:02 2018 +0530 @@ -138,7 +138,7 @@ $ hg up -q --clean . $ $PYTHON <<EOF - > fp = open('logfile', 'w') + > fp = open('logfile', 'wb') > fp.write(b'12345678901234567890123456789012345678901234567890' + > b'1234567890') # there are 5 more columns for 80 columns >