Skip to content
Snippets Groups Projects
Commit a3a01194 authored by Maciej Fijalkowski's avatar Maciej Fijalkowski
Browse files

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
parent 403b0a7a
No related branches found
No related tags found
No related merge requests found
......@@ -56,5 +56,5 @@
could not import hgext.badext2 (No module named *badext2): trying badext2 (glob)
Traceback (most recent call last):
ImportError: No module named *badext2 (glob)
could not import hgext3rd.badext2 (No module named badext2): trying badext2
could not import hgext3rd.badext2 (No module named *badext2): trying badext2 (glob)
Traceback (most recent call last):
......@@ -60,5 +60,5 @@
Traceback (most recent call last):
ImportError: No module named badext2
ImportError: No module named *badext2 (glob)
*** failed to import extension badext2: No module named badext2
Traceback (most recent call last):
ImportError: No module named badext2
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment