diff options
Diffstat (limited to 'pylint/checkers')
-rw-r--r-- | pylint/checkers/typecheck.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py index 7ec0b55..46535d2 100644 --- a/pylint/checkers/typecheck.py +++ b/pylint/checkers/typecheck.py @@ -866,6 +866,9 @@ accessed. Python regular expressions are accepted.'} node=node.value) return + if is_inside_abstract_class(node): + return + inferred = safe_infer(node.value) if inferred is None or inferred is astroid.YES: return |