Drop Python 2 object subclassing (#38720)

This commit is contained in:
Adam J. Stewart
2023-07-05 07:37:44 -05:00
committed by GitHub
parent 8861fe0294
commit 95847a0b37
110 changed files with 233 additions and 233 deletions

View File

@@ -208,7 +208,7 @@
]
class LogEvent(object):
class LogEvent:
"""Class representing interesting events (e.g., errors) in a build log."""
def __init__(self, text, line_no,
source_file=None, source_line_no=None,
@@ -345,7 +345,7 @@ def _parse_unpack(args):
return _parse(*args)
class CTestLogParser(object):
class CTestLogParser:
"""Log file parser that extracts errors and warnings."""
def __init__(self, profile=False):
# whether to record timing information