Mercurial > hg > mercurial-source
changeset 39149:a6426dd3210d
py3: suppress the output of .write() calls in tests/test-revlog-v2.t
This makes the test pass on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D3785
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 18 Jun 2018 15:24:17 +0530 (2018-06-18) |
parents | e53879421ecd |
children | 06c85cbd6824 |
files | tests/test-revlog-v2.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-revlog-v2.t +++ b/tests/test-revlog-v2.t @@ -31,7 +31,7 @@ Unknown flags to revlog are rejected >>> with open('.hg/store/00changelog.i', 'wb') as fh: - ... fh.write(b'\x00\x04\xde\xad') + ... fh.write(b'\x00\x04\xde\xad') and None $ hg log abort: unknown flags (0x04) in version 57005 revlog 00changelog.i!