summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-18 19:01:31 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-18 19:01:31 +0300
commit5e649a112f60f3c330b5f7544b6e6286f983beca (patch)
tree98dfdd89eb337795eb61f9a564d4913e19e651db
parent7ea4ec76e796cb1d63fcb7be75f3bfce49a8845b (diff)
downloadpylint-5e649a112f60f3c330b5f7544b6e6286f983beca.tar.gz
Correct the name of the messages.
-rw-r--r--pylint/testutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/testutils.py b/pylint/testutils.py
index 1d0c3c8..ecb26ce 100644
--- a/pylint/testutils.py
+++ b/pylint/testutils.py
@@ -272,7 +272,7 @@ class LintTestUsingModule(unittest.TestCase):
def test_functionality(self):
tocheck = [self.package+'.'+self.module]
- # pylint: disable=not-iterable-context; can't handle boolean checks for now
+ # pylint: disable=not-an-iterable; can't handle boolean checks for now
if self.depends:
tocheck += [self.package+'.%s' % name.replace('.py', '')
for name, _ in self.depends]
@@ -318,7 +318,7 @@ class LintTestUsingFile(LintTestUsingModule):
if not isdir(importable):
importable += '.py'
tocheck = [importable]
- # pylint: disable=not-iterable-context; can't handle boolean checks for now
+ # pylint: disable=not-an-iterable; can't handle boolean checks for now
if self.depends:
tocheck += [join(self.INPUT_DIR, name) for name, _ in self.depends]
self._test(tocheck)