Closed Bug 1679442 Opened 5 years ago Closed 5 years ago

Reftests can produce assertion_count=None leading to an error in Py3

Categories

(Testing :: web-platform-tests, defect)

Default
defect

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: jgraham, Assigned: jgraham)

References

Details

Attachments

(1 file)

In py3 this fails because we can't compare an int with None.

This doesn't work in Py3 because we can't compare an int with None. If
the count is None we don't want to log anything, so just check for that.

Assignee: nobody → james
Status: NEW → ASSIGNED
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/autoland/rev/92ee97433b0c Fix handling of missing assertion count, r=whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26658 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: