Hello Matti,

On 06/01/2012 03:25 PM, mattip wrote:

> @@ -551,6 +552,9 @@
>              except ValueError, e:
>                  assert e.message == 'Procedure called with not enough ' + \
>                       'arguments (8 bytes missing) or wrong calling 
> convention'
> +            except LLException:
> +                #jitted code raises this
> +                pass
>              else:
>                  assert 0, 'wrong calling convention should have raised'

I think you should at least check that the LLException you get is of the right
type, to avoid hiding an unrelated one you might get by chance.

ciao,
Anto
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to