changeset 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 94158c541c74
children d704aea4efa6
files tests/test-extension.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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