This revision was automatically updated to reflect the committed changes. Closed by commit rHGf5ffcac66c02: py3: make sure we write bytes to file (authored by pulkit, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3220?vs=7932&id=7972 REVISION DETAIL https://phab.mercurial-scm.org/D3220 AFFECTED FILES tests/test-mq.t CHANGE DETAILS diff --git a/tests/test-mq.t b/tests/test-mq.t --- a/tests/test-mq.t +++ b/tests/test-mq.t @@ -1126,7 +1126,7 @@ $ cat > writebin.py <<EOF > import sys > path = sys.argv[1] - > open(path, 'wb').write('BIN\x00ARY') + > open(path, 'wb').write(b'BIN\x00ARY') > EOF $ $PYTHON writebin.py bucephalus To: pulkit, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel