Closed Bug 1614587 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21720 - Migrated wpt test_run to Python3

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 21720 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/21720
Details from upstream follow.

Sergio Villar Senin <svillar@igalia.com> wrote:

Migrated wpt test_run to Python3

Most of the issues was that in python3 subprocess.call() returns a binary object instead of a string. We had to add several decode() to make it python3 compatible. Apart from that isinstance() is now used to check whether an argument is text or not.

Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/000ef7dbded0
[wpt PR 21720] - Migrated wpt test_run to Python3, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.