Hi Armin, 

[Armin Rigo Wed, Jun 30, 2004 at 07:35:14PM +0100]
>    self.assertEquals(f(x) +
>                      g(x) == q(x),
>                      'Message')
> 
> should, intuitively, get translated to...
> 
>   assert (f(x) +
>                      g(x) == q(x)), (
>                      'Message')


Aehem, which kind of intuition are you invoking?  I guess intuitive as seen
from an algorithm but certainly not nice for a human eye, right? 
(apart from the fact, that the first '==' probably should be a comma). 

So i would suggest  

    assert f(x) + g(x) == q(x), 'Message' 

as the desired output unless this is NP-complete to compute :-) 

cheers,

    holger
_______________________________________________
[EMAIL PROTECTED]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to