[Cython] removing GCC warnings for test suite, please review [part1]

Stefan Behnel stefan_ml at behnel.de
Thu Oct 16 21:17:19 CEST 2008


Hi,

Dag Sverre Seljebotn wrote:
> I am very against doing anything with the testcases - the fact that they
> trigger gcc warnings is a *good* thing.

It's not intentional, though. The tests that currently trigger gcc compiler
warnings are left-overs from Pyrex's test suite, where tests aren't run and do
not even get compiled in gcc.

So, it's a good thing that Lisandro provides a patch to fix these to free the
view on the things the tests are designed to test. If we use tests to check
for broken code or compiler warnings, they should test for this explicitly,
not by accident.

Stefan


More information about the Cython-dev mailing list