##// END OF EJS Templates
tests: drop py36 conditionals in test-hook.t...
Matt Harbison -
r51178:bcc8b351 default
parent child Browse files
Show More
@@ -985,13 +985,11 b' test python hooks'
985 985 Traceback (most recent call last):
986 986 SyntaxError: * (glob)
987 987 Traceback (most recent call last):
988 ImportError: No module named 'hgext_syntaxerror' (no-py36 !)
989 ModuleNotFoundError: No module named 'hgext_syntaxerror' (py36 !)
988 ModuleNotFoundError: No module named 'hgext_syntaxerror'
990 989 Traceback (most recent call last):
991 990 SyntaxError: * (glob)
992 991 Traceback (most recent call last):
993 ImportError: No module named 'hgext_syntaxerror' (no-py36 !)
994 ModuleNotFoundError: No module named 'hgext_syntaxerror' (py36 !)
992 ModuleNotFoundError: No module named 'hgext_syntaxerror'
995 993 Traceback (most recent call last):
996 994 raise error.HookLoadError( (py38 !)
997 995 mercurial.error.HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
@@ -1147,21 +1145,16 b' make sure --traceback works on hook impo'
1147 1145 $ hg --traceback commit -ma 2>&1 | egrep '^exception|ImportError|ModuleNotFoundError|Traceback|HookLoadError|abort'
1148 1146 exception from first failed import attempt:
1149 1147 Traceback (most recent call last):
1150 ImportError: No module named 'somebogusmodule' (no-py36 !)
1151 ModuleNotFoundError: No module named 'somebogusmodule' (py36 !)
1148 ModuleNotFoundError: No module named 'somebogusmodule'
1152 1149 exception from second failed import attempt:
1153 1150 Traceback (most recent call last):
1154 ImportError: No module named 'somebogusmodule' (no-py36 !)
1155 ModuleNotFoundError: No module named 'somebogusmodule' (py36 !)
1151 ModuleNotFoundError: No module named 'somebogusmodule'
1156 1152 Traceback (most recent call last):
1157 ImportError: No module named 'hgext_importfail' (no-py36 !)
1158 ModuleNotFoundError: No module named 'hgext_importfail' (py36 !)
1153 ModuleNotFoundError: No module named 'hgext_importfail'
1159 1154 Traceback (most recent call last):
1160 ImportError: No module named 'somebogusmodule' (no-py36 !)
1161 ModuleNotFoundError: No module named 'somebogusmodule' (py36 !)
1155 ModuleNotFoundError: No module named 'somebogusmodule'
1162 1156 Traceback (most recent call last):
1163 ImportError: No module named 'hgext_importfail' (no-py36 !)
1164 ModuleNotFoundError: No module named 'hgext_importfail' (py36 !)
1157 ModuleNotFoundError: No module named 'hgext_importfail'
1165 1158 Traceback (most recent call last):
1166 1159 raise error.HookLoadError( (py38 !)
1167 1160 mercurial.error.HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed
General Comments 0
You need to be logged in to leave comments. Login now