Mercurial > hg
diff tests/test-extension.t @ 47832:7835f2696de8 stable
test-extension: adapt output to pyoxidizer
The traceback use module name instead of filename.
The rest of the test is still on fire for various other reasons. However that
specific output mismatch is now fixed.
Differential Revision: https://phab.mercurial-scm.org/D11285
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 17 Aug 2021 21:57:59 +0200 |
parents | d1c1fd7ac46d |
children | d88f4231712c |
line wrap: on
line diff
--- a/tests/test-extension.t Tue Aug 17 20:48:34 2021 +0200 +++ b/tests/test-extension.t Tue Aug 17 21:57:59 2021 +0200 @@ -668,7 +668,8 @@ Even though the extension fails during uisetup, hg is still basically usable: $ hg --config extensions.baduisetup=$TESTTMP/baduisetup.py version Traceback (most recent call last): - File "*/mercurial/extensions.py", line *, in _runuisetup (glob) + File "*/mercurial/extensions.py", line *, in _runuisetup (glob) (no-pyoxidizer !) + File "mercurial.extensions", line *, in _runuisetup (glob) (pyoxidizer !) uisetup(ui) File "$TESTTMP/baduisetup.py", line 2, in uisetup 1 / 0