pyoxidized: adapt output of test-bad-extension.t
The file path in the traceback become module name.
Differential Revision: https://phab.mercurial-scm.org/D11295
--- a/tests/test-bad-extension.t Wed Aug 18 12:49:55 2021 +0200
+++ b/tests/test-bad-extension.t Wed Aug 18 12:53:40 2021 +0200
@@ -20,7 +20,8 @@
show help for a given topic or a help overview
error in exit handlers:
Traceback (most recent call last):
- File "*/mercurial/dispatch.py", line *, in _runexithandlers (glob)
+ File "*/mercurial/dispatch.py", line *, in _runexithandlers (glob) (no-pyoxidizer !)
+ File "mercurial.dispatch", line *, in _runexithandlers (glob) (pyoxidizer !)
func(*args, **kwargs)
File "$TESTTMP/bailatexit.py", line *, in bail (glob)
raise RuntimeError('ui.atexit handler exception')