Mercurial > hg
diff tests/test-bookmarks-corner-case.t @ 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 | 055687fe4c47 |
children | 84aff7e20c55 |
line wrap: on
line diff
--- 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