Add unit tests for getfullargspec().

Review Request #12495 — Created Aug. 2, 2022 and submitted — Latest diff uploaded

Information

kgb
master

Reviewers

kgb

This adds a new suite of getfullargspec() unit tests. There are groups
for functions, bound/unbound methods, and classmethods. Each tests plain
functions/methods, those with positional-only arguments, keyword-only
arguments, and annotations.

Unit tests pass on Python 2.7 through 3.10.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Add unit tests for getfullargspec().
This adds a new suite of `getfullargspec()` unit tests. There are groups for functions, bound/unbound methods, and classmethods. Each tests plain functions/methods, those with positional-only arguments, keyword-only arguments, and annotations.
86b68dd79004af741c867884f1b1df943d97e3d7 Christian Hammond
kgb/tests/py3/test_function_spy.py
Loading...