We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab8994 commit dfdccb4Copy full SHA for dfdccb4
tests/test_parsers/test_docstrings/test_google.py
@@ -735,7 +735,7 @@ def f() -> Iterator[int]:
735
sections, errors = parse(inspect.getdoc(f), inspect.signature(f)) # type: ignore[arg-type]
736
assert len(sections) == 2
737
annotated = sections[1].value
738
- assert annotated.annotation is Iterator[int]
+ assert annotated.annotation == Iterator[int]
739
assert annotated.description == "Integers."
740
assert not errors
741
0 commit comments