diff options
Diffstat (limited to 'checkers/utils.py')
-rw-r--r-- | checkers/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/checkers/utils.py b/checkers/utils.py index 2df59e1..2cb01d5 100644 --- a/checkers/utils.py +++ b/checkers/utils.py @@ -533,6 +533,10 @@ def unimplemented_abstract_methods(node, is_abstract_cb=decorated_with_abc): except NotImplementedError: # Old style class, it will not have a mro. return {} + except astroid.ResolveError: + # Probably inconsistent hierarchy, don'try + # to figure this out here. + return {} for ancestor in mro: for obj in ancestor.values(): infered = obj |