-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
plugin: warningsrelated to the warnings builtin pluginrelated to the warnings builtin plugintype: questiongeneral question, might be closed after 2 weeks of inactivitygeneral question, might be closed after 2 weeks of inactivity
Description
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:
=============================== warnings summary ===============================
integrationtests/test_blocks.py::TestA::test_a
/usr/lib64/python2.7/site-packages/numpy/core/_methods.py:83: RuntimeWarning: Degrees of freedom <= 0 for slice
warnings.warn("Degrees of freedom <= 0 for slice", RuntimeWarning)
Metadata
Metadata
Assignees
Labels
plugin: warningsrelated to the warnings builtin pluginrelated to the warnings builtin plugintype: questiongeneral question, might be closed after 2 weeks of inactivitygeneral question, might be closed after 2 weeks of inactivity