Skip to content

Commit

Permalink
gh-95065: Argument Clinic: Add functional tests of deprecated positio…
Browse files Browse the repository at this point in the history
…nals (#107768)

Move the "deprecated positinal" tests from clinic.test.c to
_testclinic.c. Mock PY_VERSION_HEX in order to prevent generated
compiler warnings/errors to trigger. Put clinic code for deprecated
positionals in Modules/clinic/_testclinic_depr_star.c.h for easy
inspection of the generated code.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  • Loading branch information
3 people authored Aug 10, 2023
1 parent 4845b97 commit 39ef93e
Show file tree
Hide file tree
Showing 5 changed files with 1,338 additions and 1,162 deletions.
Loading

0 comments on commit 39ef93e

Please sign in to comment.