Skip to content

Commit dfdccb4

Browse files
committed
tests: Fix test (identity -> equality)
1 parent fab8994 commit dfdccb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_parsers/test_docstrings/test_google.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def f() -> Iterator[int]:
735735
sections, errors = parse(inspect.getdoc(f), inspect.signature(f)) # type: ignore[arg-type]
736736
assert len(sections) == 2
737737
annotated = sections[1].value
738-
assert annotated.annotation is Iterator[int]
738+
assert annotated.annotation == Iterator[int]
739739
assert annotated.description == "Integers."
740740
assert not errors
741741

0 commit comments

Comments
 (0)