Skip to content

Commit

Permalink
Bug 1470530 - [wptrunner] Correct the warning to error option for pyt…
Browse files Browse the repository at this point in the history
…est. 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
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent b6e3d39 commit 1379448
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@
[
"
-
-
strict
W
error
"

"
Expand Down

0 comments on commit 1379448

Please sign in to comment.