Skip to content

Commit

Permalink
Fix test after merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNoord committed Sep 3, 2021
1 parent 85fe213 commit e4ada21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/extensions/test_check_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

import astroid
import pytest
from astroid.nodes import ClassDef
from astroid import nodes

from pylint.extensions.docparams import DocstringParameterChecker
from pylint.testutils import CheckerTestCase, Message, set_config
Expand Down Expand Up @@ -343,7 +343,7 @@ def function_foo(x, y):
with self.assertNoMessages():
self.checker.visit_functiondef(node)

def _visit_methods_of_class(self, node: ClassDef) -> None:
def _visit_methods_of_class(self, node: nodes.ClassDef) -> None:
"""Visit all methods of a class node
:param node: class node
Expand Down

0 comments on commit e4ada21

Please sign in to comment.