pyoxidized: adapt output of test-flagprocessor.t stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 18 Aug 2021 12:49:55 +0200
branchstable
changeset 47837 1cb01c71ba32
parent 47836 f1af5a084862
child 47838 fcd464e6a482
pyoxidized: adapt output of test-flagprocessor.t The file path in the traceback become module name. Differential Revision: https://phab.mercurial-scm.org/D11294
tests/test-flagprocessor.t
--- a/tests/test-flagprocessor.t	Wed Aug 18 12:42:16 2021 +0200
+++ b/tests/test-flagprocessor.t	Wed Aug 18 12:49:55 2021 +0200
@@ -201,14 +201,17 @@
   > EOF
   $ hg debugrebuilddirstate
   Traceback (most recent call last):
-    File "*/mercurial/extensions.py", line *, in _runextsetup (glob)
+    File "*/mercurial/extensions.py", line *, in _runextsetup (glob) (no-pyoxidizer !)
+    File "mercurial.extensions", line *, in _runextsetup (glob) (pyoxidizer !)
       extsetup(ui)
     File "*/tests/flagprocessorext.py", line *, in extsetup (glob)
       flagutil.addflagprocessor( (py38 !)
       validatehash, (no-py38 !)
-    File "*/mercurial/revlogutils/flagutil.py", line *, in addflagprocessor (glob)
+    File "*/mercurial/revlogutils/flagutil.py", line *, in addflagprocessor (glob) (no-pyoxidizer !)
+    File "mercurial.revlogutils.flagutil", line *, in addflagprocessor (glob) (pyoxidizer !)
       insertflagprocessor(flag, processor, flagprocessors)
-    File "*/mercurial/revlogutils/flagutil.py", line *, in insertflagprocessor (glob)
+    File "*/mercurial/revlogutils/flagutil.py", line *, in insertflagprocessor (glob) (no-pyoxidizer !)
+    File "mercurial.revlogutils.flagutil", line *, in insertflagprocessor (glob) (pyoxidizer !)
       raise error.Abort(msg)
   mercurial.error.Abort: cannot register multiple processors on flag '0x8'. (py3 !)
   Abort: cannot register multiple processors on flag '0x8'. (no-py3 !)