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

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Mon Jun 18 08:33:09 EDT 2018


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

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!



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


More information about the Mercurial-devel mailing list