diff options
| author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2019-03-08 20:29:06 +0100 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-03-09 11:09:29 +0100 |
| commit | b2a77e465cf10f7f1122262131aa4071faf74804 (patch) | |
| tree | 62dad471baebfffa359d7af47fe627baa38c4624 /pylint/testutils.py | |
| parent | b5faf228561266786800e1a788fe9b01d25c55dc (diff) | |
| download | pylint-git-b2a77e465cf10f7f1122262131aa4071faf74804.tar.gz | |
Refactor - Rename PylintASTWalker to ASTWalker
For obvious reasons. See review here :
https://github.com/PyCQA/pylint/pull/2654#discussion_r263843101
Diffstat (limited to 'pylint/testutils.py')
| -rw-r--r-- | pylint/testutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/testutils.py b/pylint/testutils.py index f22b897e8..17ded416a 100644 --- a/pylint/testutils.py +++ b/pylint/testutils.py @@ -37,7 +37,7 @@ from io import StringIO import astroid from pylint import checkers -from pylint.utils import PyLintASTWalker +from pylint.utils import ASTWalker from pylint.reporters import BaseReporter from pylint.interfaces import IReporter from pylint.lint import PyLinter @@ -254,7 +254,7 @@ class CheckerTestCase: def walk(self, node): """recursive walk on the given node""" - walker = PyLintASTWalker(linter) + walker = ASTWalker(linter) walker.add_checker(self.checker) walker.walk(node) |
