Mercurial > hg
changeset 42430:5b217451a2c2
py3: fix test-bookmarks-corner-case.t
For some reasons, the output of print was not going through. Replaced that
ui.status().
Differential Revision: https://phab.mercurial-scm.org/D6481
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Wed, 05 Jun 2019 22:09:26 +0300 |
parents | 6ed04139ed37 |
children | 29528c4235a1 |
files | contrib/python3-whitelist tests/test-bookmarks-corner-case.t |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/python3-whitelist Wed Jun 05 22:02:57 2019 +0300 +++ b/contrib/python3-whitelist Wed Jun 05 22:09:26 2019 +0300 @@ -36,6 +36,7 @@ test-bisect3.t test-blackbox.t test-bookflow.t +test-bookmarks-corner-case.t test-bookmarks-current.t test-bookmarks-merge.t test-bookmarks-pushpull.t
--- a/tests/test-bookmarks-corner-case.t Wed Jun 05 22:02:57 2019 +0300 +++ b/tests/test-bookmarks-corner-case.t Wed Jun 05 22:09:26 2019 +0300 @@ -122,7 +122,7 @@ > from mercurial import bookmarks, error, extensions > def wrapinit(orig, self, repo): > if not os.path.exists('push-A-started'): - > print('setting raced push up') + > repo.ui.status(b'setting raced push up\n') > with open('push-A-started', 'w'): > pass > clock = 300