I didn't try it, but according to @takluyver (see jupyter/nbconvert#730 (comment)), nbval does not raise an error if a cell tagged with raises-exception does not raise an exception.
I think that not raising an exception in a raises-exception cell should generally (in every Jupyter-related tool) be an error and @takluyver said (jupyter/nbconvert#730 (comment)):
for nbval it probably makes sense to have an error in that case
How about raising an error in that case?
Related issue on nbconvert: jupyter/nbconvert#730
Related issue on notebook: jupyter/notebook#4198
Related issue on jupyterlab: jupyterlab/jupyterlab#2412
I didn't try it, but according to @takluyver (see jupyter/nbconvert#730 (comment)),
nbvaldoes not raise an error if a cell tagged withraises-exceptiondoes not raise an exception.I think that not raising an exception in a
raises-exceptioncell should generally (in every Jupyter-related tool) be an error and @takluyver said (jupyter/nbconvert#730 (comment)):How about raising an error in that case?
Related issue on
nbconvert: jupyter/nbconvert#730Related issue on
notebook: jupyter/notebook#4198Related issue on
jupyterlab: jupyterlab/jupyterlab#2412