-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the test suite emits 27 warnings #30
Comments
I think all of the There are three other types of warnings, some of which are raised several times:
These last three warnings can be suppressed using |
Expected as in "I want to test that the warning is raised" or rather "I know this raises a warning, but the call is actually correct"? If it's the first, I recommend The last argument also applies to the other points you raised. If a user might hit these warnings, you should probably silence them locally. If they are only hit in the test suite you can also filter these directly by putting addopts =
-Wignore::UserWarning::Converting sparse ... in your |
I've added handlers for the warnings in the pytest configuration as well as the main |
See for example this CI run. Most of them seem to be because deprecated behavior is used or functionalities are not properly invoked.
The text was updated successfully, but these errors were encountered: