diff -r 950c39918bd2 -r f68b0a5d3211 tests/test-hook.t --- a/tests/test-hook.t Wed Jan 04 00:16:52 2023 -0500 +++ b/tests/test-hook.t Wed Jan 04 00:20:27 2023 -0500 @@ -978,12 +978,12 @@ Traceback (most recent call last): SyntaxError: * (glob) Traceback (most recent call last): - ImportError: No module named 'hgext_syntaxerror' (py3 no-py36 !) + ImportError: No module named 'hgext_syntaxerror' (no-py36 !) ModuleNotFoundError: No module named 'hgext_syntaxerror' (py36 !) Traceback (most recent call last): SyntaxError: * (glob) Traceback (most recent call last): - ImportError: No module named 'hgext_syntaxerror' (py3 no-py36 !) + ImportError: No module named 'hgext_syntaxerror' (no-py36 !) ModuleNotFoundError: No module named 'hgext_syntaxerror' (py36 !) Traceback (most recent call last): raise error.HookLoadError( (py38 !) @@ -1140,20 +1140,20 @@ $ hg --traceback commit -ma 2>&1 | egrep '^exception|ImportError|ModuleNotFoundError|Traceback|HookLoadError|abort' exception from first failed import attempt: Traceback (most recent call last): - ImportError: No module named 'somebogusmodule' (py3 no-py36 !) + ImportError: No module named 'somebogusmodule' (no-py36 !) ModuleNotFoundError: No module named 'somebogusmodule' (py36 !) exception from second failed import attempt: Traceback (most recent call last): - ImportError: No module named 'somebogusmodule' (py3 no-py36 !) + ImportError: No module named 'somebogusmodule' (no-py36 !) ModuleNotFoundError: No module named 'somebogusmodule' (py36 !) Traceback (most recent call last): - ImportError: No module named 'hgext_importfail' (py3 no-py36 !) + ImportError: No module named 'hgext_importfail' (no-py36 !) ModuleNotFoundError: No module named 'hgext_importfail' (py36 !) Traceback (most recent call last): - ImportError: No module named 'somebogusmodule' (py3 no-py36 !) + ImportError: No module named 'somebogusmodule' (no-py36 !) ModuleNotFoundError: No module named 'somebogusmodule' (py36 !) Traceback (most recent call last): - ImportError: No module named 'hgext_importfail' (py3 no-py36 !) + ImportError: No module named 'hgext_importfail' (no-py36 !) ModuleNotFoundError: No module named 'hgext_importfail' (py36 !) Traceback (most recent call last): raise error.HookLoadError( (py38 !)