summaryrefslogtreecommitdiff
path: root/test/test_func.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2010-04-19 11:18:08 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2010-04-19 11:18:08 +0200
commitcefa5131bc24376108431ff0db404b30f94637bf (patch)
treec5c4349e811ba70cd44ea262176a2556709a983c /test/test_func.py
parent45d7af410711749b669c5a363fd9978629b50d1b (diff)
downloadpylint-cefa5131bc24376108431ff0db404b30f94637bf.tar.gz
use generic disable / enable methods and inline option
Diffstat (limited to 'test/test_func.py')
-rw-r--r--test/test_func.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_func.py b/test/test_func.py
index ab8ab84..74cd3d4 100644
--- a/test/test_func.py
+++ b/test/test_func.py
@@ -86,9 +86,9 @@ class LintTestUsingModule(testlib.TestCase):
def _test(self, tocheck):
if INFO_TEST_RGX.match(self.module):
- self.linter.enable_message_category('I')
+ self.linter.enable('I')
else:
- self.linter.disable_message_category('I')
+ self.linter.disable('I')
try:
self.linter.check(tocheck)
except Exception, ex: