summaryrefslogtreecommitdiff
path: root/Tools/Scripts/webkitpy/style/checkers/test_expectations.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Scripts/webkitpy/style/checkers/test_expectations.py')
-rw-r--r--Tools/Scripts/webkitpy/style/checkers/test_expectations.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Tools/Scripts/webkitpy/style/checkers/test_expectations.py b/Tools/Scripts/webkitpy/style/checkers/test_expectations.py
index 46403b7db..1ce40cd39 100644
--- a/Tools/Scripts/webkitpy/style/checkers/test_expectations.py
+++ b/Tools/Scripts/webkitpy/style/checkers/test_expectations.py
@@ -67,7 +67,7 @@ class TestExpectationsChecker(object):
# FIXME: host should be a required parameter, not an optional one.
host = host or Host()
- host._initialize_scm()
+ host.initialize_scm()
self._port_obj = self._determine_port_from_expectations_path(host, file_path)
@@ -94,8 +94,6 @@ class TestExpectationsChecker(object):
expectations = '\n'.join(lines)
if self._port_obj:
self.check_test_expectations(expectations_str=expectations, tests=None)
- else:
- self._handle_style_error(1, 'test/expectations', 5,
- 'No port uses path %s for test_expectations' % self._file_path)
+
# Warn tabs in lines as well
self.check_tabs(lines)