diff options
Diffstat (limited to 'test/lib/ansible_test/_internal/test.py')
-rw-r--r-- | test/lib/ansible_test/_internal/test.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/lib/ansible_test/_internal/test.py b/test/lib/ansible_test/_internal/test.py index da6af355a4..dca0badb9e 100644 --- a/test/lib/ansible_test/_internal/test.py +++ b/test/lib/ansible_test/_internal/test.py @@ -333,10 +333,8 @@ class TestFailure(TestResult): return command - def find_docs(self): - """ - :rtype: str - """ + def find_docs(self) -> t.Optional[str]: + """Return the docs URL for this test or None if there is no docs URL.""" if self.command != 'sanity': return None # only sanity tests have docs links |