[webkit-changes] [WebKit/WebKit] 3caa31: webkitpy.test.markers.xfail(reason=...) throws
Sam Sneddon
noreply at github.com
Mon Oct 28 11:32:36 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3caa311d45c4b97622a25495d2e53162f5b6c246
https://github.com/WebKit/WebKit/commit/3caa311d45c4b97622a25495d2e53162f5b6c246
Author: Sam Sneddon <gsnedders at apple.com>
Date: 2024-10-28 (Mon, 28 Oct 2024)
Changed paths:
M Tools/Scripts/webkitpy/conftest.py
M Tools/Scripts/webkitpy/test/markers.py
Log Message:
-----------
webkitpy.test.markers.xfail(reason=...) throws
https://bugs.webkit.org/show_bug.cgi?id=281870
Reviewed by Jonathan Bedard.
We need to actually quote the dict keys.
While we're at it, based on the recommendation of
https://docs.pytest.org/en/7.2.x/example/simple.html#detect-if-running-from-within-a-pytest-run
to detect whether or not we're running under pytest, rather than just
checking whether or not the pytest module can be imported.
* Tools/Scripts/webkitpy/test/markers.py:
(xfail):
(xfail.decorator):
(slow):
Canonical link: https://commits.webkit.org/285777@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list