Permalink
Browse files

fix notebooks

  • Loading branch information...
sdpython committed Aug 23, 2017
1 parent b9d7089 commit 435f4caff2c32211b16d91657f29c4ac085cb5a8
Showing with 3 additions and 4 deletions.
  1. +1 −2 _doc/sphinxdoc/source/index.rst
  2. +2 −2 src/code_beatrix/automation/notebook_test_helper.py
@@ -115,8 +115,7 @@ Contacts
.. image:: nbcov.png
:target: http://www.xavierdupre.fr/app/code_beatrix/helpsphinx/all_notebooks_coverage.html
:alt: Notebook Coverage
:alt: Notebook Coverage
Annexes
-------
@@ -4,10 +4,10 @@
@brief Some automation helpers to test notebooks and check they are still working fine.
"""
import os
import sys
from pyquickhelper.loghelper import noLOG
from pyquickhelper.ipythonhelper.notebook_helper import install_python_kernel_for_unittest
from pyquickhelper.ipythonhelper import execute_notebook_list
from pyquickhelper.pycode import is_travis_or_appveyor
def ls_notebooks(subfolder):
@@ -139,7 +139,7 @@ def valid_cell(cell):
return False
return True
kernel_name = None if "travis" in sys.executable else install_python_kernel_for_unittest(
kernel_name = None if is_travis_or_appveyor() else install_python_kernel_for_unittest(
"code_beatrix")
addpaths = get_additional_paths()
if filter:

0 comments on commit 435f4ca

Please sign in to comment.