Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/develop/coding-guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ For example, when type information is refined in the docstring.


In test classes, it is recommended to have one-line docstring for each test method. For very short and obvious
tests, where the function name explain what all it does, then in such cases, the docstring can be omitted.
tests, where the function name explain what all it does, then in such cases, the docstring can be omitted. As test
functions only have self as input argument and no return value, type hinting in the function signature is not required.

For e.g. 2.3 the test class should be defined as
Comment on lines 162 to 166

Expand Down
Loading