Skip to content

Commit

Permalink
Fixed TestSelf.test_return_valid() not actually calling the method
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Apr 4, 2023
1 parent d75b521 commit 78344e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_typechecked.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ class Foo:
def method(self) -> Self:
return self

Foo().method
Foo().method()

def test_return_invalid(self):
class Foo:
Expand Down

0 comments on commit 78344e4

Please sign in to comment.