# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 2021-08-18 10:53:40
# Node ID fcd464e6a4826c4ef6bc059d9b80f72a3982ba46
# Parent  1cb01c71ba326a6a608ee4fcb64a689a3ac765b2

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

diff --git a/tests/test-bad-extension.t b/tests/test-bad-extension.t
--- a/tests/test-bad-extension.t
+++ b/tests/test-bad-extension.t
@@ -20,7 +20,8 @@ ensure that failing ui.atexit handlers r
   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')