Patchwork D3785: py3: suppress the output of .write() calls in tests/test-revlog-v2.t

login
register
mail settings
Submitter phabricator
Date June 18, 2018, 12:33 p.m.
Message ID <b7df3dfb3e28c3f8ba793b0a895a82fa@localhost.localdomain>
Download mbox | patch
Permalink /patch/32258/
State Not Applicable
Headers show

Comments

phabricator - June 18, 2018, 12:33 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa6426dd3210d: py3: suppress the output of .write() calls in tests/test-revlog-v2.t (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3785?vs=9156&id=9168

REVISION DETAIL
  https://phab.mercurial-scm.org/D3785

AFFECTED FILES
  tests/test-revlog-v2.t

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-revlog-v2.t b/tests/test-revlog-v2.t
--- 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!