Patchwork D7946: py3: add extra traceback line present on Python 3.8

login
register
mail settings
Submitter phabricator
Date Jan. 21, 2020, 1:03 p.m.
Message ID <a99f1cc05b652f9ca1ab5267d1f0e76d@localhost.localdomain>
Download mbox | patch
Permalink /patch/44540/
State Not Applicable
Headers show

Comments

phabricator - Jan. 21, 2020, 1:03 p.m.
Closed by commit rHG1bb24b1ef368: py3: add extra traceback line present on Python 3.8 (authored by indygreg).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7946?vs=19450&id=19469

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7946/new/

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

AFFECTED FILES
  tests/test-hook.t

CHANGE DETAILS




To: indygreg, #hg-reviewers, pulkit
Cc: mjpieters, mercurial-devel

Patch

diff --git a/tests/test-hook.t b/tests/test-hook.t
--- a/tests/test-hook.t
+++ b/tests/test-hook.t
@@ -988,6 +988,7 @@ 
   ModuleNotFoundError: No module named 'hgext_syntaxerror' (py36 !)
   Traceback (most recent call last): (py3 !)
   HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed (no-py3 !)
+      raise error.HookLoadError( (py38 !)
   mercurial.error.HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed (py3 !)
   abort: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
 
@@ -1161,6 +1162,7 @@ 
   ModuleNotFoundError: No module named 'hgext_importfail' (py36 !)
   Traceback (most recent call last):
   HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed (no-py3 !)
+      raise error.HookLoadError( (py38 !)
   mercurial.error.HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed (py3 !)
   abort: precommit.importfail hook is invalid: import of "importfail" failed