##// END OF EJS Templates
py3: add extra traceback line present on Python 3.8...
Gregory Szorc -
r44580:51fb449b default
parent child Browse files
Show More
@@ -988,6 +988,7 b' test python hooks'
988 ModuleNotFoundError: No module named 'hgext_syntaxerror' (py36 !)
988 ModuleNotFoundError: No module named 'hgext_syntaxerror' (py36 !)
989 Traceback (most recent call last): (py3 !)
989 Traceback (most recent call last): (py3 !)
990 HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed (no-py3 !)
990 HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed (no-py3 !)
991 raise error.HookLoadError( (py38 !)
991 mercurial.error.HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed (py3 !)
992 mercurial.error.HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed (py3 !)
992 abort: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
993 abort: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
993
994
@@ -1161,6 +1162,7 b' make sure --traceback works on hook impo'
1161 ModuleNotFoundError: No module named 'hgext_importfail' (py36 !)
1162 ModuleNotFoundError: No module named 'hgext_importfail' (py36 !)
1162 Traceback (most recent call last):
1163 Traceback (most recent call last):
1163 HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed (no-py3 !)
1164 HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed (no-py3 !)
1165 raise error.HookLoadError( (py38 !)
1164 mercurial.error.HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed (py3 !)
1166 mercurial.error.HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed (py3 !)
1165 abort: precommit.importfail hook is invalid: import of "importfail" failed
1167 abort: precommit.importfail hook is invalid: import of "importfail" failed
1166
1168
General Comments 0
You need to be logged in to leave comments. Login now