Vidar Tonaas Fauske
Vidar Tonaas Fauske
Thanks for the feedback. I'll look a bit further into the current behavior, but for now I just want to clear up that `# NBVAL_RAISES_EXCEPTION` and the `raises-exception`/`nbval-raises-exception` tags are...
> In a hypothetical future where notebook and jupyterlab are fixed, they would raise a CellExecutionError (or similar) in the case a raises-exception cell doesn't raise. Raising an error or...
> However, if the outputs are stored in the notebook file, nbval still doesn't report an error. Which IMHO is a bug, but it may be a bug in the...
> But you kept the old cell output? Yes, this is for example what you would expect if the code initially produced an error, but now no longer does (nbval...
It's not really well documented, but if you have [nbdime](https://github.com/jupyter/nbdime/) installed, you can add the flag `--nbdime` to the pytest cmd to use nbdime to visualize the diff between the...
So yes, nbval does not currently have a way to save the output, but nbconvert should do that correctly, as you note. Do you consider this a satisfactory solution (if...
Rename would be sufficient. Thanks!
Beside the above comment I am not sure if this makes sense for the general case (I assume this will try to print the full base64 strings if the output...
> probably yes Please note that printing an image as a base64 string will typically output pages upon pages of random characters, completely drowning out any important data. For other...
Output comparison should use pytest's pretty assert repr since 0.8. See [this code](https://github.com/computationalmodelling/nbval/blob/84250d7d0c0306f838692213b41abb16dea9f967/nbval/plugin.py#L478). If you're on a version after that, and are not seeing this, would you mind posting the...