diff -r fd2f1f0071b9 -r 4caf56c33009 tests/test-revset2.t --- a/tests/test-revset2.t Wed Jan 30 16:43:52 2019 -0500 +++ b/tests/test-revset2.t Thu Jan 24 16:07:32 2019 -0500 @@ -1525,8 +1525,8 @@ $ hg init problematicencoding $ cd problematicencoding - $ "$PYTHON" > setup.sh < print(u''' + $ "$PYTHON" < open('setup.sh', 'wb').write(u''' > echo a > text > hg add text > hg --encoding utf-8 commit -u '\u30A2' -m none @@ -1541,8 +1541,8 @@ $ sh < setup.sh test in problematic encoding - $ "$PYTHON" > test.sh < print(u''' + $ "$PYTHON" < open('test.sh', 'wb').write(u''' > hg --encoding cp932 log --template '{rev}\\n' -r 'author(\u30A2)' > echo ==== > hg --encoding cp932 log --template '{rev}\\n' -r 'author(\u30C2)'