-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
enter debugger when warning is raised #3223
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
Comments
|
The exception with Does |
No this exception is not expected, since it is raised before the tests are executed. Here is the full traceback:
|
Ah, it is another one - sorry for the confusion. |
this is a pytest issue actually - we use a deprecated attrs api and should fix that bit a more specific warning filter s (matching only numpy for errors) should help |
@RonnyPfannschmidt |
Ah.. that's what Ronny meant likely: only match numpy's warning, and then use |
@RonnyPfannschmidt Everything works fine with attr-17.3.0, but some minor fixes to pytest are required for attr-17.4.0. ( |
i propose updating the requirement and changing the call |
I don't understand why the coveralls job failed. |
seems like a config issue, i believe merging is just fine |
I've just discovered that there is already a |
Is it possible to enter the debugger when a warning is raised similar to the usage of the
--pdb
flag when normal exceptions are raised?The reason why I'm asking is that I have the following warning in the warnings summary and I wan't to know where and why it is raised:
The text was updated successfully, but these errors were encountered: