cpython icon indicating copy to clipboard operation
cpython copied to clipboard

Functional tests for argument clinic

Open kumaraditya303 opened this issue 3 years ago • 0 comments

Currently there are no functional tests for argument clinic and the present tests mostly verify generated code not the runtime behavior. This can lead to bugs like https://github.com/python/cpython/pull/32092 so adding tests would help avoid such bugs.

A new module with functions using all function signatures can be created which will return the tuple of the args so that testing it would be easy.

kumaraditya303 avatar Aug 15 '22 16:08 kumaraditya303