test-extension: glob module name in error message for PyPy stable
authorYuya Nishihara <yuya@tcha.org>
Wed, 02 Aug 2017 22:06:45 +0900
branchstable
changeset 33623 23f999211940
parent 33622 5a5f600b06ad
child 33624 b4793cc8e1c0
test-extension: glob module name in error message for PyPy
tests/test-extension.t
--- a/tests/test-extension.t	Wed Aug 02 21:52:22 2017 +0900
+++ b/tests/test-extension.t	Wed Aug 02 22:06:45 2017 +0900
@@ -1674,7 +1674,7 @@
 
 Even though the extension fails during uisetup, hg is still basically usable:
   $ hg version
-  *** failed to set up extension baduisetup: No module named bdiff
+  \*\*\* failed to set up extension baduisetup: No module named (mercurial\.)?bdiff (re)
   Mercurial Distributed SCM (version *) (glob)
   (see https://mercurial-scm.org for more information)
   
@@ -1696,8 +1696,8 @@
       mod = _hgextimport(_origimport, head, globals, locals, None, level)
     File "*/hgdemandimport/demandimportpy2.py", line *, in _hgextimport (glob)
       return importfunc(name, globals, *args, **kwargs)
-  ImportError: No module named bdiff
-  *** failed to set up extension baduisetup: No module named bdiff
+  ImportError: No module named (mercurial\.)?bdiff (re)
+  \*\*\* failed to set up extension baduisetup: No module named (mercurial\.)?bdiff (re)
   Mercurial Distributed SCM (version *) (glob)
   (see https://mercurial-scm.org for more information)