In a message of Tue, 28 Apr 2009 13:40:36 +0200, holger krekel writes:
<snip>
>taking your valid points into account, i'd 
>i'd like to go with something like this (re-posting the func example): 
>
>    def test_inconsistent():
>        def f(l=[1,0]):
            return l.pop()
>>       assert f()
>E:      AssertionError: (assertion failed, but when it was re-run for 
>printing intermediate values, it did not fail.  Suggestions: 
>compute assert expression before the assert or use --nomagic)
>
>fine to you? 
>thanks & cheers, 
>holger

Looks great to me. :)  

Laura
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to