diff --git a/doc/develop/coding-guidelines.rst b/doc/develop/coding-guidelines.rst index 7029a05a6f..58186a5930 100644 --- a/doc/develop/coding-guidelines.rst +++ b/doc/develop/coding-guidelines.rst @@ -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