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

Augie Fackler raf at durin42.com
Tue Dec 29 16:47:25 CST 2015


On Tue, Dec 22, 2015 at 10:36:40PM -0800, Bryan O'Sullivan wrote:
> # HG changeset patch
> # User Bryan O'Sullivan <bos at serpentine.com>
> # Date 1450852595 28800
> #      Tue Dec 22 22:36:35 2015 -0800
> # Node ID 079eba011d07eb82319082116528abddb6a7b178
> # Parent  89a92700bdb96b8f6477d8bf59e268f7db0a13c1
> test-bad-extension.t: account for PyPy/CPython error difference

Queued, thanks.

>
> 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
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list