Skip to content

Commit

Permalink
unwrap notebook tests so error indicates filename
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMRuss committed Aug 19, 2024
1 parent 64be9a1 commit d91b5aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_check_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def test_md_links():

def test_run_notebooks_without_errors():
"run pip install nbtest before running this test"
check_call(['pytest', '--nbmake', '-n=auto', '--nbmake-timeout=500', 'examples'])
for file in glob.glob('./examples/*.ipynb'):
check_call(['pytest', '--nbmake', '--nbmake-timeout=500', file])


def test_compress_notebooks():
Expand Down

0 comments on commit d91b5aa

Please sign in to comment.