Closed Bug 1564780 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 17648 - [tools] Remove use of deprecated API

Categories

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

task

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mike Pennisi <mike@mikepennisi.com> wrote:

[tools] Remove use of deprecated API

The "message" parameter of Pytests's raises method has been deprecated
[1]. This causes a test failure in the current configuration. Since the
parameter was not previously serving the intended purpose (that is, it
was not verifying the message of the raised exception), it may be
removed without degrading coverage.

[1] https://docs.pytest.org/en/4.6-maintenance/deprecations.html#message-parameter-of-pytest-raises

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Type: -- → task
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dcadeb3ffce3
[wpt PR 17648] - [tools] Remove use of deprecated API, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.