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
--- 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