Mercurial > hg
diff tests/test-diff-color.t @ 39618:2f40bcebad30
py3: suppress the return value from .write() call
Differential Revision: https://phab.mercurial-scm.org/D4591
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sat, 15 Sep 2018 00:01:52 +0300 |
parents | c8e371ee65a4 |
children | 5abc47d4ca6b |
line wrap: on
line diff
--- a/tests/test-diff-color.t Sat Sep 15 00:01:20 2018 +0300 +++ b/tests/test-diff-color.t Sat Sep 15 00:01:52 2018 +0300 @@ -57,7 +57,7 @@ >>> with open('a', 'rb') as f: ... data = f.read() >>> with open('a', 'wb') as f: - ... f.write(data.replace(b'dd', b'dd \r')) + ... f.write(data.replace(b'dd', b'dd \r')) and None $ hg diff --nodates \x1b[0;1mdiff -r cf9f4ba66af2 a\x1b[0m (esc) \x1b[0;31;1m--- a/a\x1b[0m (esc)