changeset 33623:23f999211940 stable

test-extension: glob module name in error message for PyPy
author Yuya Nishihara <yuya@tcha.org>
date Wed, 02 Aug 2017 22:06:45 +0900
parents 5a5f600b06ad
children b4793cc8e1c0
files tests/test-extension.t
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)