Open
Bug 1663883
Opened 5 years ago
Updated 5 years ago
[wpt-sync] Sync PR 25446 - Python3: Read file as binary type to avoid any decoding attempt
Categories
(Testing :: web-platform-tests, task, P4)
Testing
web-platform-tests
Tracking
(Not tracked)
REOPENED
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25446 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25446
Details from upstream follow.
b'Ziran Sun <zsun@igalia.com>' wrote:
Python3: Read file as binary type to avoid any decoding attempt
In python 3, it tries to convert a byte-array to a unicode string. In some cases, it encounters a byte sequence which is not allowed in utf-8-encoded strings. This CL is to read file as specify reading file as binary type.
Assignee | ||
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•5 years ago
|
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Test result changes from PR not available.
You need to log in
before you can comment on or make changes to this bug.
Description
•