File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 - NOSE=
5555 - NUMPY=numpy
5656 - PANDAS=
57+ - JUPYTER=
5758 - PYPARSING=pyparsing
5859 - PYTEST='pytest>=3.4'
5960 - PYTEST_COV=pytest-cov
@@ -94,6 +95,7 @@ matrix:
9495 env :
9596 - DELETE_FONT_CACHE=1
9697 - PANDAS='pandas<0.21.0'
98+ - JUPYTER='jupyter'
9799 - PYTEST_PEP8=pytest-pep8
98100 - PYTEST_ADDOPTS="$PYTEST_ADDOPTS --pep8"
99101 - python : " nightly"
@@ -147,6 +149,7 @@ install:
147149 $NOSE \
148150 $NUMPY \
149151 $PANDAS \
152+ $JUPYTER \
150153 pillow \
151154 $PYPARSING \
152155 $SPHINX \
Original file line number Diff line number Diff line change 22import os
33import subprocess
44import tempfile
5- import nbformat
5+ import pytest
66
7+ nbformat = pytest .importorskip ('nbformat' )
78
89# From https://blog.thedataincubator.com/2016/06/testing-jupyter-notebooks/
910
11+
1012def _notebook_run (nb_file ):
1113 """Execute a notebook via nbconvert and collect output.
1214 :returns (parsed nb object, execution errors)
You can’t perform that action at this time.
0 commit comments