diff tests/test-bad-extension.t @ 27538:50ad3f25fb4c

test-bad-extension: account for PyPy/CPython error difference
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 23 Dec 2015 16:22:20 -0800
parents f39953663cc9
children 550097d01ca3
line wrap: on
line diff
--- a/tests/test-bad-extension.t	Wed Dec 23 16:22:20 2015 -0800
+++ b/tests/test-bad-extension.t	Wed Dec 23 16:22:20 2015 -0800
@@ -32,9 +32,9 @@
   *** 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