Mercurial > hg
diff tests/test-context.py @ 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 | 61b333b982ea |
children | a4958cdb2202 |
line wrap: on
line diff