Patchwork D11295: pyoxidized: adapt output of test-bad-extension.t

login
register
mail settings
Submitter phabricator
Date Aug. 18, 2021, 1:24 p.m.
Message ID <differential-rev-PHID-DREV-b3752dgblpduaibwr2gh-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49609/
State Superseded
Headers show

Comments

phabricator - Aug. 18, 2021, 1:24 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The file path in the traceback become module name.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D11295

AFFECTED FILES
  tests/test-bad-extension.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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 @@ 
   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')