commit | 34e63c893158ada48cde480d8d0536db669bd8c5 | [log] [tgz] |
---|---|---|
author | Rico Wind <ricow@google.com> | Thu Apr 21 14:40:38 2022 +0200 |
committer | Rico Wind <ricow@google.com> | Thu Apr 21 15:31:10 2022 +0000 |
tree | be86b3d64b3e603f018687bdb72af83f08b0d31b | |
parent | b63e56077626feeae062d079da0b8c68652fb40d [diff] [blame] |
Fix running only failed for python3 Change-Id: I7fa567b920939032312b1e645f4582174c4bd54e
diff --git a/tools/test.py b/tools/test.py index 665ab5f..0e3bf0f 100755 --- a/tools/test.py +++ b/tools/test.py
@@ -530,7 +530,7 @@ print("Reading failed tests in", report) failing = set() inFailedSection = False - for line in file(report): + for line in open(report): l = line.strip() if l == "<h2>Failed tests</h2>": inFailedSection = True