summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2013-12-22 23:41:57 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2013-12-22 23:41:57 +0100
commit99196f23052a5d04ad5135b815d19ff4771db27c (patch)
treed919e2c2b7f33ae3d11dfafd4a6777abc81337de /testutils.py
parentc0b4d64b5cfea5b69c6f000ae07f42a5a943d32d (diff)
downloadpylint-git-99196f23052a5d04ad5135b815d19ff4771db27c.tar.gz
various pylint fixes
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/testutils.py b/testutils.py
index 2c80f2a7d..77eaffe0f 100644
--- a/testutils.py
+++ b/testutils.py
@@ -150,7 +150,7 @@ class CheckerTestCase(testlib.TestCase):
def setUp(self):
self.linter = UnittestLinter()
- self.checker = self.CHECKER_CLASS(self.linter)
+ self.checker = self.CHECKER_CLASS(self.linter) # pylint: disable=not-callable
for key, value in self.CONFIG.iteritems():
setattr(self.checker.config, key, value)
self.checker.open()
@@ -213,10 +213,10 @@ class LintTestUsingModule(testlib.TestCase):
_TEST_TYPE = 'module'
def shortDescription(self):
- values = { 'mode' : self._TEST_TYPE,
- 'input': self.module,
- 'pkg': self.package,
- 'cls': self.__class__.__name__}
+ values = {'mode' : self._TEST_TYPE,
+ 'input': self.module,
+ 'pkg': self.package,
+ 'cls': self.__class__.__name__}
if self.package == self.DEFAULT_PACKAGE:
msg = '%(mode)s test of input file "%(input)s" (%(cls)s)'