[Python-Dev] Testing C API

Nick Coghlan ncoghlan at gmail.com
Mon Jul 30 11:53:59 EDT 2018


On 30 July 2018 at 21:23, Victor Stinner <vstinner at redhat.com> wrote:
> Or maybe test_<name>_capi.py so you can more easily discover
> test_unicode_cami while working on Unicode. You can use -m "test_*_capi" to
> run all C API tests.

Missing word there: -m test "test*_capi"

I think between this approach and expanding test_capi to be a test
package, not just a test file, I think it would be possible to make
these parts of the test a fair bit more discoverable and maintainable.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list