pytest
pytest copied to clipboard
testing: Explicitly pass `-Werror` to tests needing it
Explicitly pass -Werror to runpytester() in the few additional tests needing it, in order to fix test failures when the test suite is run with -Wdefault or a similar override.
Fixes #13480
- [ ] Include documentation when adding new features.
- [ ] Include new tests or update existing tests when applicable.
- [X] Allow maintainers to push and squash when merging my commits. Please uncheck this if you prefer to squash the commits yourself.
If this change fixes an issue, please:
- [x] Add text like
closes #XYZWto the PR description and/or commits (whereXYZWis the issue number). See the github docs for more information.
Unless your change is trivial or a small documentation fix (e.g., a typo or reword of a small section) please:
-
[x] Create a new changelog file in the
changelogfolder, with a name like<ISSUE NUMBER>.<TYPE>.rst. See changelog/README.rst for details.Write sentences in the past or present tense, examples:
- Improved verbose diff output with sequences.
- Terminal summary statistics now use multiple colors.
Also make sure to end the sentence with a
.. -
[x] Add yourself to
AUTHORSin alphabetical order.