grim/pyparser

more linting

2014-11-03, Gary Kramlich
004235ac887c
Parents 9e656a447e6b
Children 9eb3d2666f5d
more linting
--- a/tests/testparser.py Mon Nov 03 12:41:18 2014 -0600
+++ b/tests/testparser.py Mon Nov 03 12:41:33 2014 -0600
@@ -43,12 +43,12 @@
self.finished = False
-class TestCountingParser(unittest.TestCase): # pylint:disable-msg=R0904
+class TestCountingParser(unittest.TestCase): # pylint:disable-msg=R0904
"""
Just test counting of lines via a parser
"""
- def setUp(self): # pylint:disable-msg=C0103
+ def setUp(self): # pylint:disable-msg=C0103
self.parser = CountingParser()
--- a/tests/testregex.py Mon Nov 03 12:41:18 2014 -0600
+++ b/tests/testregex.py Mon Nov 03 12:41:33 2014 -0600
@@ -46,7 +46,7 @@
""" Parsers /proc/cpuinfo with kwargs """
def __init__(self):
- RegexParser.__init__(self, kwargs=True)
+ RegexParser.__init__(self, named_groups=True)
self.data = {}
self.processor = None