py3: fix test-bookmarks-corner-case.t
authorPulkit Goyal <pulkit@yandex-team.ru>
Wed, 05 Jun 2019 22:09:26 +0300
changeset 42446 5b217451a2c2
parent 42445 6ed04139ed37
child 42447 29528c4235a1
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
contrib/python3-whitelist
tests/test-bookmarks-corner-case.t
--- 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