Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jul 24, 2018
1 parent 5e4fb27 commit b45e08f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 3 additions & 2 deletions _unittests/ut_documentation/test_run_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,16 @@ def test_run_notebook(self):
for f in os.listdir(fnb):
if os.path.splitext(f)[-1] == ".ipynb" and "_long" not in f and \
"custom" not in f and "local" not in f and "panzoom" not in f and \
"visjs" not in f and "svg" not in f:
"visjs" not in f and "svg" not in f:
keepnote.append(os.path.join(fnb, f))
for i, f in enumerate(keepnote):
fLOG(i + 1, os.path.split(f)[-1])

addpaths = [os.path.normpath(os.path.join(
os.path.abspath(os.path.dirname(__file__)), "..", "..", "src"))]

res = execute_notebook_list(temp, keepnote, fLOG=fLOG, additional_path=addpaths)
res = execute_notebook_list(
temp, keepnote, fLOG=fLOG, additional_path=addpaths)
execute_notebook_list_finalize_ut(
res, fLOG=fLOG, dump=src.jyquickhelper)

Expand Down
3 changes: 2 additions & 1 deletion _unittests/ut_documentation/test_run_notebooks_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def test_run_notebook(self):
os.path.abspath(os.path.dirname(__file__)), "..", "..", "src"))]

# run the notebooks
res = execute_notebook_list(temp, keepnote, fLOG=fLOG, additional_path=addpaths)
res = execute_notebook_list(
temp, keepnote, fLOG=fLOG, additional_path=addpaths)
execute_notebook_list_finalize_ut(
res, fLOG=fLOG, dump=src.jyquickhelper)

Expand Down
3 changes: 2 additions & 1 deletion _unittests/ut_documentation/test_run_notebooks_panzoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def test_run_notebook(self):
addpaths = [os.path.normpath(os.path.join(
os.path.abspath(os.path.dirname(__file__)), "..", "..", "src"))]

res = execute_notebook_list(temp, keepnote, fLOG=fLOG, additional_path=addpaths)
res = execute_notebook_list(
temp, keepnote, fLOG=fLOG, additional_path=addpaths)
execute_notebook_list_finalize_ut(
res, fLOG=fLOG, dump=src.jyquickhelper)

Expand Down
5 changes: 3 additions & 2 deletions _unittests/ut_documentation/test_run_notebooks_svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ def test_run_notebook(self):
keepnote = []
for f in os.listdir(fnb):
if os.path.splitext(f)[-1] == ".ipynb" and "svg" in f and \
"panzoom" not in f:
"panzoom" not in f:
keepnote.append(os.path.join(fnb, f))
for i, f in enumerate(keepnote):
fLOG(i + 1, os.path.split(f)[-1])

addpaths = [os.path.normpath(os.path.join(
os.path.abspath(os.path.dirname(__file__)), "..", "..", "src"))]

res = execute_notebook_list(temp, keepnote, fLOG=fLOG, additional_path=addpaths)
res = execute_notebook_list(
temp, keepnote, fLOG=fLOG, additional_path=addpaths)
execute_notebook_list_finalize_ut(
res, fLOG=fLOG, dump=src.jyquickhelper)

Expand Down
3 changes: 2 additions & 1 deletion _unittests/ut_documentation/test_run_notebooks_visjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def test_run_notebook(self):
addpaths = [os.path.normpath(os.path.join(
os.path.abspath(os.path.dirname(__file__)), "..", "..", "src"))]

res = execute_notebook_list(temp, keepnote, fLOG=fLOG, additional_path=addpaths)
res = execute_notebook_list(
temp, keepnote, fLOG=fLOG, additional_path=addpaths)
execute_notebook_list_finalize_ut(
res, fLOG=fLOG, dump=src.jyquickhelper)

Expand Down

0 comments on commit b45e08f

Please sign in to comment.