This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients larry, serhiy.storchaka
Date 2018-12-24.16:41:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545669685.38.0.712150888896.issue35578@roundup.psfhosted.org>
In-reply-to
Content
Currently Argument Clinic converters are tested by running Argument Clinic on the CPython source tree. If it generates incorrect code, then it contains bugs. But not all combinations of standard converters and options are used in the stdlib.

The programming interface of Argument Clinic is complex, and it is hard to write tests for testing only specific functionality. The simplest way of testing Argument Clinic is to write a C file containing declarations and generated code for all test cases. Although this does not allow to test error cases.

The proposed PR adds Lib/test/clinic_test.c which contains tests for all standard converters. It will be extended in bpo-20180 (PR #9828) and bpo-23867.
History
Date User Action Args
2018-12-24 16:41:28serhiy.storchakasetrecipients: + serhiy.storchaka, larry
2018-12-24 16:41:25serhiy.storchakasetmessageid: <1545669685.38.0.712150888896.issue35578@roundup.psfhosted.org>
2018-12-24 16:41:25serhiy.storchakalinkissue35578 messages
2018-12-24 16:41:25serhiy.storchakacreate