Skip to content

Unexpected behavior on cells tagged with "raises-exception" #108

@mgeier

Description

@mgeier

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions