changeset 47843:fcd464e6a482 stable

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 18 Aug 2021 12:53:40 +0200
parents 1cb01c71ba32
children fa50f208de73
files tests/test-bad-extension.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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')