[Chandler-dev] (no subject)

D John Anderson john at osafoundation.org
Tue Jul 3 11:54:32 PDT 2007


The __debug__ code does checking that complements the testing code in  
the functional tests (e.g. repository check). They often catch errors  
early, before they propagate somewhere where they are more difficult  
to understand, or do additional tests that you'd want to know about  
if you were running functional tests.

If you have some specific examples of __debug__ code that you think  
shouldn't be run during functional tests, I'd appreciate seeing it.

John


On Jul 3, 2007, at 11:40 AM, Heikki Toivonen wrote:


>> The __debug__ section are used in the same way as asserts, e.g.  
>> they add
>> testing code which should be run when running functional test.
>>
>
> In general that is not true. We have lots of asserts and if __debug__:
> sections that have no relation whatsoever to functional tests.
>
> -- 
>   Heikki Toivonen
>
>
>




More information about the chandler-dev mailing list