Skip to content

Commit 7676307

Browse files
authored
Merge pull request #116 from maxinasa/fix-mypy1.10
Fix the test_samples unittest for the interface_implications.py case.
2 parents 7a03caf + c5e7579 commit 7676307

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/samples/interface_implications.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def main(obj: Optional[IBookmark]) -> None:
3636
interface_implications.py:19: note: Revealed type is "None"
3737
interface_implications.py:21: note: Revealed type is "__main__.IBookmark"
3838
interface_implications.py:22: note: Revealed type is "Union[__main__.IBookmark, None]"
39-
interface_implications.py:26: note: Revealed type is "Type[__main__.IBookmark]"
40-
interface_implications.py:28: note: Revealed type is "Type[None]"
41-
interface_implications.py:29: note: Revealed type is "Union[Type[__main__.IBookmark], Type[None]]"
39+
interface_implications.py:26: note: Revealed type is "type[__main__.IBookmark]"
40+
interface_implications.py:28: note: Revealed type is "type[None]"
41+
interface_implications.py:29: note: Revealed type is "Union[type[__main__.IBookmark], type[None]]"
4242
</output>
4343
"""

0 commit comments

Comments
 (0)