run_project_tests: also change paths for DEPRECATION messages

Not just WARNING and ERROR
pull/10702/head
Dylan Baker 2 years ago committed by Eli Schwartz
parent 2fe07adc0e
commit 369c2660d0
  1. 2
      run_project_tests.py

@ -471,7 +471,7 @@ def _compare_output(expected: T.List[T.Dict[str, str]], output: str, desc: str)
sub = r'\\'
else:
sub = r'\\\\'
expected_line = re.sub(r'/(?=.*(WARNING|ERROR))', sub, expected_line)
expected_line = re.sub(r'/(?=.*(WARNING|ERROR|DEPRECATION))', sub, expected_line)
m = OutputMatch(how, expected_line, count)
if count == 0:

Loading…
Cancel
Save