Skip to content

Commit ffcaa5b

Browse files
authored
Merge pull request #4 from ipeirotis/deepsource-fix-b722896d
Remove assert statement from non test files
2 parents 438f857 + 3fa3a8c commit ffcaa5b

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)