Skip to content

Commit 1379448

Browse files
committed
Bug 1470530 - [wptrunner] Correct the warning to error option for pytest. r=ato
Currently the "--strict" option is used to turn warnings into errors. But even the help content says that, it is not true. Instead this option is only used for markers. To actually turn warnings into errors the "-W error" option would have to be used. More details see: pytest-dev/pytest#2444 MozReview-Commit-ID: AQMwZlwC46w UltraBlame original commit: e4190bcbd4ef1b4dc8bb21c265c667cd007326d1
1 parent b6e3d39 commit 1379448

File tree

1 file changed

+2
-2
lines changed
  • testing/web-platform/tests/tools/wptrunner/wptrunner/executors/pytestrunner

1 file changed

+2
-2
lines changed

testing/web-platform/tests/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@
344344
[
345345
"
346346
-
347-
-
348-
strict
347+
W
348+
error
349349
"
350350

351351
"

0 commit comments

Comments
 (0)