comparison tests/test-globalopts.t @ 40224:63245ad598af

py3: add some py3 specific output to test This makes the test work on Python 3. Differential Revision: https://phab.mercurial-scm.org/D5035
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sat, 13 Oct 2018 04:47:51 +0300
parents 5fa4e29ba3e3
children 8cf459d8b111
comparison
equal deleted inserted replaced
40223:cabf09dbc6e0 40224:63245ad598af
265 Testing --traceback: 265 Testing --traceback:
266 266
267 #if no-chg 267 #if no-chg
268 $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback' 268 $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback'
269 Traceback (most recent call last): 269 Traceback (most recent call last):
270 Traceback (most recent call last): (py3k !)
270 #else 271 #else
271 Traceback for '--config' errors not supported with chg. 272 Traceback for '--config' errors not supported with chg.
272 $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback' 273 $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback'
273 [1] 274 [1]
274 #endif 275 #endif