[PATCH 09 of 10 PyPy] test-bad-extension.t: account for PyPy/CPython error difference

Bryan O'Sullivan bos at serpentine.com
Wed Dec 23 18:22:24 CST 2015


diff --git a/tests/test-bad-extension.t b/tests/test-bad-extension.t
--- a/tests/test-bad-extension.t
+++ b/tests/test-bad-extension.t
@@ -32,9 +32,9 @@ show traceback for ImportError of hgext.
   *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
   Traceback (most recent call last):
   Exception: bit bucket overflow
-  could not import hgext.badext2 (No module named badext2): trying badext2
+  could not import hgext.badext2 (No module named *badext2): trying badext2 (glob)
   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


More information about the Mercurial-devel mailing list