Skip to content

Commit 3fa3a8c

Browse files
Remove assert statement from non test files
1 parent 438f857 commit 3fa3a8c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

binder/test_notebooks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def test_notebooks(path):
3838
for notebook in sorted(notebooks):
3939
print(notebook)
4040
_, errors = notebook_run(join(path, notebook))
41-
assert errors == []
41+
if errors != []:
42+
raise AssertionError
4243

4344
for directory in sorted(directories):
4445
print(directory)

0 commit comments

Comments
 (0)