nbval icon indicating copy to clipboard operation
nbval copied to clipboard

A py.test plugin to validate Jupyter notebooks

Results 62 nbval issues
Sort by recently updated
recently updated
newest added

I'm trying to find the way to test all of my jupyterlab extensions in one notebook and I found that nbval could be usefull. But I can't even use it...

When I run the pytest in the azure pipelines, there are some errors: ``` 2020-07-16T17:11:42.4458845Z =========================== short test summary info ============================ 2020-07-16T17:11:42.4459936Z ERROR notebooks/linear regression.ipynb::Cell 0 - _queue.Empty 2020-07-16T17:11:42.4461052Z ERROR...

If I create a new notebook `nb.ipynb` with two cells: In[1]: ```python %notmagic x = 0 raise TypeError ``` In[2]: ```python x = 1 ``` I would expect `python -m...

Hi there, I encountered failed tests of my notebook for cells that produce plots. I have been getting an error: ``` Traceback: Missing output fields from running code: {'image/svg+xml'} ```...

Hi all, I love your project! I just noticed that the IPython `%reset` magic breaks the coverage report generated with ``` py.test -v --nbval-lax --cov . ``` I observe this...

Running the following code in a cell ```python from IPython.display import Image Image('some_image.png') ``` then replacing the content with ```python from IPython.display import Image Image('another_image.png') ``` and saving the notebook...

help wanted

I wonder if there's a way to compare the data stored on the axes object of figures generated by matplotlib w/ those when running the ipynb

The variable `output_timeout` is now a hardcoded constant: https://github.com/computationalmodelling/nbval/blob/232d2496a01a5a5c96fe98b27977ae5505a15f5e/nbval/plugin.py#L336 For testing large outputs, such as notebook widgets, the 5 seconds are not sufficient. Making the variable configurable would solve that...

Hi, I wonder whether it's possible to use nbval for a jupyter notebook that exploits ipyparallel in combination with MPI (mpi4py). [This](https://nbviewer.jupyter.org/github/opesci/devito/blob/63bf04bb695b499eba3302adf901d7f478eaf313/examples/userapi/mpi.ipynb) is the notebook I'm talking about. It's nothing...