Index: Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py |
diff --git a/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py b/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py |
index 75c0a661ac84537cb522915d86bea8af24990f2e..0c77183f0511110d333abb0455cfb47b5190ce07 100644 |
--- a/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py |
+++ b/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py |
@@ -402,7 +402,7 @@ class TestExpectationLine(object): |
and self.is_skipped_outside_expectations_file == other.is_skipped_outside_expectations_file) |
def is_invalid(self): |
- return self.warnings and self.warnings != [TestExpectationParser.MISSING_BUG_WARNING] |
+ return bool(self.warnings and self.warnings != [TestExpectationParser.MISSING_BUG_WARNING]) |
Dirk Pranke
2014/05/29 18:25:21
why was this needed?
|
def is_flaky(self): |
return len(self.parsed_expectations) > 1 |