pyoxidized: adapt output of test-bad-extension.t stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 18 Aug 2021 12:53:40 +0200
branchstable
changeset 47843 fcd464e6a482
parent 47842 1cb01c71ba32
child 47844 fa50f208de73
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
tests/test-bad-extension.t
--- 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')