Changeset 69171 in webkit
- Timestamp:
- Oct 5, 2010 8:38:51 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r69169 r69171 1 2010-10-05 Tony Chang <tony@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 fix the link to the expected image on windows 6 https://bugs.webkit.org/show_bug.cgi?id=47228 7 8 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: On 9 windows, the file must be opened in binary mode when writing 10 binary data. 11 1 12 2010-10-05 Adam Barth <abarth@webkit.org> 2 13 -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/test_types/test_type_base.py
r67974 r69171 162 162 """This method assumes that byte_array is already encoded 163 163 into the right format.""" 164 with codecs.open(file_path, "w", encoding=encoding) as file: 164 open_mode = 'w' 165 if encoding is None: 166 open_mode = 'w+b' 167 with codecs.open(file_path, open_mode, encoding=encoding) as file: 165 168 file.write(contents) 166 169
Note: See TracChangeset
for help on using the changeset viewer.