D3563: py3: suppress the value returned by .write() calls
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed May 16 07:42:03 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6660b90805c6: py3: suppress the value returned by .write() calls (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3563?vs=8701&id=8710
REVISION DETAIL
https://phab.mercurial-scm.org/D3563
AFFECTED FILES
tests/test-status.t
CHANGE DETAILS
diff --git a/tests/test-status.t b/tests/test-status.t
--- a/tests/test-status.t
+++ b/tests/test-status.t
@@ -465,12 +465,12 @@
$ hg init repo5
$ cd repo5
- >>> open("010a", r"wb").write(b"\1\nfoo")
+ >>> open("010a", r"wb").write(b"\1\nfoo") and None
$ hg ci -q -A -m 'initial checkin'
$ hg status -A
C 010a
- >>> open("010a", r"wb").write(b"\1\nbar")
+ >>> open("010a", r"wb").write(b"\1\nbar") and None
$ hg status -A
M 010a
$ hg ci -q -m 'modify 010a'
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list