Skip to content

Commit 805688b

Browse files
committed
minor comment/error msg fixes
1 parent e62f3ee commit 805688b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/scripts/check_log_warnings_remarks.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def _get_test_data(self, log_instance):
7979
log_instance = log_instance.splitlines()
8080

8181
for line in log_instance:
82-
8382
test_match = re.search(pattern, line)
8483
if test_match:
8584
test_name, warnings, remarks = test_match.groups()
@@ -102,7 +101,7 @@ def _get_pr_data(self, commit):
102101
sys.exit(1)
103102

104103
def _clean_data(self, test_data):
105-
"""Convert None values to zeros in the test dictionary"""
104+
"""Convert None values to zeros in the test_data dictionary"""
106105
clean_data = {
107106
k: tuple(0 if v is None else int(v) for v in values)
108107
for k, values in test_data.items()
@@ -116,7 +115,7 @@ def compare_results(self, pr_log, base_log):
116115

117116
for test in pr_log:
118117
if test not in base_log:
119-
logging.info(f"Skipped new test {test}; nothing to compare against.")
118+
logging.info(f"Skipped test {test}; nothing to compare against.")
120119
continue
121120
# Check warnings
122121
if pr_log[test][0] > base_log[test][0]:

0 commit comments

Comments
 (0)