Mercurial > hg
diff tests/test-convert-cvs.t @ 37890:cf76642cb2bb
tests: b prefixes on some inline python in test-convert-cvs.t
# skip-blame just b prefixes
Differential Revision: https://phab.mercurial-scm.org/D3488
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 27 Apr 2018 01:30:29 -0400 |
parents | a38ac7ec8e03 |
children | c70bdd222dcd |
line wrap: on
line diff
--- a/tests/test-convert-cvs.t Fri Apr 27 01:28:56 2018 -0400 +++ b/tests/test-convert-cvs.t Fri Apr 27 01:30:29 2018 -0400 @@ -522,8 +522,8 @@ $ mkdir -p cvsrepo/transcoding $ python <<EOF - > fp = open('cvsrepo/transcoding/file,v', 'w') - > fp.write((''' + > fp = open('cvsrepo/transcoding/file,v', 'wb') + > fp.write((b''' > head 1.4; > access; > symbols @@ -570,7 +570,7 @@ > > 1.4 > log - > @''' + u'\u3042'.encode('cp932') + ''' (cp932) + > @''' + u'\u3042'.encode('cp932') + b''' (cp932) > @ > text > @1 @@ -582,7 +582,7 @@ > > 1.3 > log - > @''' + u'\u3042'.encode('euc-jp') + ''' (euc-jp) + > @''' + u'\u3042'.encode('euc-jp') + b''' (euc-jp) > @ > text > @d4 1 @@ -591,7 +591,7 @@ > > 1.2 > log - > @''' + u'\u3042'.encode('utf-8') + ''' (utf-8) + > @''' + u'\u3042'.encode('utf-8') + b''' (utf-8) > @ > text > @d3 1