Mercurial > hg
changeset 46085:e0866c047e64
tests: conditionalize output in test-ssh.t with chg+py3
Because of our wrapping around sys.std* and python3 internal buffering, the
output order changes. The change in order seems like harmless because just few
lines above the same command is run which results in same output.
This makes `test-ssh.t` works with --chg on python 3.
Differential Revision: https://phab.mercurial-scm.org/D9502
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 02 Dec 2020 14:27:45 +0530 |
parents | 7e1b4154cdca |
children | ac9de799d390 |
files | tests/test-ssh.t |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-ssh.t Wed Dec 02 14:19:09 2020 +0530 +++ b/tests/test-ssh.t Wed Dec 02 14:27:45 2020 +0530 @@ -331,9 +331,10 @@ remote: adding changesets remote: adding manifests remote: adding file changes + remote: added 1 changesets with 1 changes to 1 files (py3 !) remote: KABOOM remote: KABOOM IN PROCESS - remote: added 1 changesets with 1 changes to 1 files + remote: added 1 changesets with 1 changes to 1 files (no-py3 !) #endif