[Python-Dev] Testing C API

Steve Dower steve.dower at python.org
Sun Jul 29 08:39:32 EDT 2018


On 29Jul2018 1253, Serhiy Storchaka wrote:
> The benefit is that it will be easier to run all C API tests at once, 
> and only them, and it will be clearer what C API is covered by tests. 
> The disadvantage is that you will need to run several files for testing 
> marshal for example.

Can we make the regular tests import and also run the related C API 
tests? So that a normal run wouldn't normally include the entire C API 
test directory, but would include test classes in the related Python 
test modules? (Maybe there's a way to decorate the test classes for this?)

I agree with the intent, but also think that's quite a disadvantage. It 
would be good to avoid it.

Cheers,
Steve


More information about the Python-Dev mailing list