Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hook.t @ 28737:a3a01194a337
pypy: fix overspecific test checks
Those tests check a bit too specific message in ImportError/SyntaxError.
Make test-hook and test-bad-extension pass on pypy
author | Maciej Fijalkowski <fijall@gmail.com> |
---|---|
date | Sun, 03 Apr 2016 08:26:57 +0100 |
parents | 12fdf49fa4dd |
children | ea1fec3e9aba |
line wrap: on
line diff
--- a/tests/test-hook.t Sun Apr 03 10:02:58 2016 +0300 +++ b/tests/test-hook.t Sun Apr 03 08:26:57 2016 +0100 @@ -537,7 +537,7 @@ searching for changes exception from first failed import attempt: Traceback (most recent call last): - SyntaxError: invalid syntax + SyntaxError: * (glob) exception from second failed import attempt: Traceback (most recent call last): ImportError: No module named hgext_syntaxerror