From patchwork Mon Jun 18 12:33:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D3793: py3: add `and None` to suppress return values of .write() calls From: phabricator X-Patchwork-Id: 32265 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Mon, 18 Jun 2018 12:33:34 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGfb4813304c5f: py3: add `and None` to suppress return values of .write() calls (authored by pulkit, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D3793?vs=9164&id=9175#toc REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3793?vs=9164&id=9175 REVISION DETAIL https://phab.mercurial-scm.org/D3793 AFFECTED FILES contrib/python3-whitelist tests/test-transplant.t CHANGE DETAILS To: pulkit, #hg-reviewers Cc: mercurial-devel diff --git a/tests/test-transplant.t b/tests/test-transplant.t --- a/tests/test-transplant.t +++ b/tests/test-transplant.t @@ -836,9 +836,9 @@ $ cd binarysource $ echo a > a $ hg ci -Am adda a - >>> open('b', 'wb').write(b'\0b1') + >>> open('b', 'wb').write(b'\0b1') and None $ hg ci -Am addb b - >>> open('b', 'wb').write(b'\0b2') + >>> open('b', 'wb').write(b'\0b2') and None $ hg ci -m changeb b $ cd .. diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -490,6 +490,7 @@ test-tag.t test-tags.t test-template-filters.t +test-transplant.t test-treemanifest.t test-ui-color.py test-ui-config.py