general: small updates for typing while trying out pyright
This commit is contained in:
parent
b1fe23b8d0
commit
c08ddbc781
7 changed files with 12 additions and 14 deletions
|
@ -133,8 +133,8 @@ def test_classproperty() -> None:
|
|||
return 'hello'
|
||||
|
||||
res = C.prop
|
||||
assert res == 'hello'
|
||||
assert_type(res, str)
|
||||
assert res == 'hello'
|
||||
|
||||
|
||||
# hmm, this doesn't really work with mypy well..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue