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
commitd8895fcb65ecd958b627298b32b0592565ef137e (patch)
tree57cdbc1a28493d1f131fa2b4a8a3ff6611c7fa2b /testutils.py
parentd3f5227f8903cf72d7de78d0c2a9fc2948b19ca9 (diff)
downloadpylint-d8895fcb65ecd958b627298b32b0592565ef137e.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 2c80f2a..77eaffe 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)'