I want to turn warnings into errors in Jupyter notebook running a Python 3 kernel using:
from warnings import warn, simplefilter
simplefilter('error')
While this works when using Python from the command line, this makes Jupyter crash. Has anyone run into this issue before? Would anyone know of a fix?
Thank you