# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1529315657 -19800 # Node ID a6426dd3210d577c8a86f9c703cba30859920899 # Parent e53879421ecdd1636ae3fd319a1ecb91dc7ad532 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 diff -r e53879421ecd -r a6426dd3210d tests/test-revlog-v2.t --- a/tests/test-revlog-v2.t Mon Jun 18 15:23:25 2018 +0530 +++ b/tests/test-revlog-v2.t Mon Jun 18 15:24:17 2018 +0530 @@ -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!