--- a/tests/test_parser.py Fri Aug 12 11:04:41 2016 -0500
+++ b/tests/test_parser.py Fri Aug 12 11:09:27 2016 -0500
@@ -18,7 +18,7 @@
+ super(CountingParser, self).__init__() @@ -96,7 +96,10 @@
def __init__(self, strip):
- Parser.__init__(self, strip=strip, ignore_blanks=False)
+ super(WhiteSpaceParser, self).__init__( self.data = {'leading': 0, 'trailing': 0}
--- a/tests/test_regex.py Fri Aug 12 11:04:41 2016 -0500
+++ b/tests/test_regex.py Fri Aug 12 11:09:27 2016 -0500
@@ -18,7 +18,10 @@
class InvalidRegexParser(RegexParser):
""" A parser that has an invalid regular expression decorator """
def __init__(self, handle_errors):
- RegexParser.__init__(self, handle_errors=handle_errors)
+ super(InvalidRegexPatternTest.InvalidRegexParser, self).__init__( + handle_errors=handle_errors @@ -47,7 +50,7 @@
""" Parsers /proc/cpuinfo with kwargs """
- RegexParser.__init__(self, named_groups=True)
+ super(CPUInfoKWArgsParser, self).__init__(self, named_groups=True) @@ -68,7 +71,7 @@
""" Parsers /proc/cpuinfo without kwargs """
- RegexParser.__init__(self)
+ super(CPUInfoMatchParser, self).__init__()