Skip to content

Commit

Permalink
Update rsmtool/test_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anastassia Loukina <aloukina@users.noreply.github.com>
  • Loading branch information
desilinguist and aloukina committed Mar 1, 2021
1 parent 3550721 commit 7a1affd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rsmtool/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ def check_report(html_file,
m_warning = html_warning_regexp.search(line)
if m_warning:
warning_text = m_warning.group(1)
# we do not want to flag matlplotlib font cache warning
if not re.search(r'font\s*cache', warning_text, flags=re.IGNORECASE):
report_warnings += 1

Expand Down

0 comments on commit 7a1affd

Please sign in to comment.