Skip to content

Conversation

@adrianlipow
Copy link
Contributor

@adrianlipow adrianlipow commented Oct 22, 2024

Since #63 added the warnings module, running tests now displays a summary of all warnings. We could suppress those via the --disable-warnings flag, but it probably makes sense not to have to remember that every time we run tests (and this suppresses all warnings, even those we might not be expecting and want to see).

We have a set of tests where we expect warnings and test for their existence, so we can tell pytest to ignore warnings on those tests. This cleans up the output of running tests.

… to be present and expect them, so no need to display them at the end of testing as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants