Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test autodoc_typehints="description" changes
A few tests need to change to account for the behavior change of not including a :type: field for a parameter unless the user supplies a :param: for it (and likewise for :rtype: and :return:). New tests are introduced to cover the new behavior: the type hints from the __init__ method are used even when autoclass_content="class", and they are not duplicated when autoclass_content="both" (so #7329 is still fixed, in a new way).
- Loading branch information
Showing
1 changed file
with
59 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters