# HG changeset patch # User Augie Fackler # Date 1524806323 14400 # Node ID a38ac7ec8e039b3283f7d7240f46f992a66fc640 # Parent 72284d296b024f65dadfd9dd504f4562e00d9ea6 tests: port inline extension in test-convert-cvs.t to py3 # skip-blame two b prefixes, nothing more Differential Revision: https://phab.mercurial-scm.org/D3483 diff -r 72284d296b02 -r a38ac7ec8e03 tests/test-convert-cvs.t --- a/tests/test-convert-cvs.t Fri Apr 27 01:14:23 2018 -0400 +++ b/tests/test-convert-cvs.t Fri Apr 27 01:18:43 2018 -0400 @@ -12,10 +12,10 @@ $ echo "convert = " >> $HGRCPATH $ cat > cvshooks.py < def cvslog(ui,repo,hooktype,log): - > ui.write('%s hook: %d entries\n' % (hooktype,len(log))) + > ui.write(b'%s hook: %d entries\n' % (hooktype,len(log))) > > def cvschangesets(ui,repo,hooktype,changesets): - > ui.write('%s hook: %d changesets\n' % (hooktype,len(changesets))) + > ui.write(b'%s hook: %d changesets\n' % (hooktype,len(changesets))) > EOF $ hookpath=`pwd` $ cat <> $HGRCPATH