| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
|
| index 7ef3b7809cf11ec3348c7533041bf86a9117304d..fd8fb7c398a3d628eb0da45bb46c6d96fe91be17 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
|
| @@ -54,12 +54,6 @@ class PortTest(unittest.TestCase):
|
| return TestPort(host, **kwargs)
|
| return Port(host, port_name or 'baseport', **kwargs)
|
|
|
| - def _file_with_contents(self, contents, encoding="utf-8"):
|
| - new_file = tempfile.NamedTemporaryFile()
|
| - new_file.write(contents.encode(encoding))
|
| - new_file.flush()
|
| - return new_file
|
| -
|
| def test_pretty_patch_os_error(self):
|
| port = self.make_port(executive=MockExecutive(exception=OSError))
|
| oc = OutputCapture()
|
|
|