ouseful-PR / nbval

A py.test plugin to validate Jupyter notebooks
Other
0 stars 0 forks source link

Identify exception type for `raises-exception` #10

Open psychemedia opened 1 year ago

psychemedia commented 1 year ago

If we have a raises-exception tag, it might also be useful to specify the type as an additional tag; for example: et-UnicodeDecodeError.

We can then check whether or not the exception raised is of the expected type.