Mercurial > hg
changeset 23060:4eaea93b3e5b stable
tests: open file in binary mode to use POSIX end-of-line style anywhere
Before this patch, "test-context.py" fails on Windows environment,
because "diff" output contains unexpected "\r" character.
Opening the target file in text mode causes this automatic end-of-line
conversion.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 20 Oct 2014 22:08:08 +0900 |
parents | 6ecd1ff8c42c |
children | f2aeff8a87b6 |
files | tests/test-context.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff