[Python-Dev] Testing C API
raymond.hettinger at gmail.com
Mon Jul 30 04:25:16 EDT 2018
> On Jul 30, 2018, at 12:06 AM, Serhiy Storchaka <storchaka at gmail.com> wrote:
> 30.07.18 09:46, Raymond Hettinger пише:
>> I prefer the current organization that keeps the various tests together with the category being tested. I almost never need to run the C API tests all at once, but I do need to see all the tests for an object in one place. When maintaining something like marshal, it would be easy to miss some of the tests if they are in a separate file. IMO, the proposed change would hinder future maintenance and fly in the face of our traditional code organization.
> What about moving just test_capi.py, test_getargs2.py and test_structmembers.py into Lib/test/test_capi? They are not related to specific types or modules
That would be reasonable.
More information about the Python-Dev