Merge pull request #5575 from bluetech/mypy-initial
Add rudimentary mypy type checking
This commit is contained in:
@@ -265,7 +265,8 @@ class TestRaises:
|
||||
"""Test current behavior with regard to exceptions via __class__ (#4284)."""
|
||||
|
||||
class CrappyClass(Exception):
|
||||
@property
|
||||
# Type ignored because it's bypassed intentionally.
|
||||
@property # type: ignore
|
||||
def __class__(self):
|
||||
assert False, "via __class__"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user