Skip to content

Commit 710cc16

Browse files
committed
lint
1 parent 9c6594e commit 710cc16

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_unittests/ut_documentation/test_nb_search_keras.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ def test_notebook_search_images(self):
2828
try:
2929
from keras.applications.mobilenet import MobileNet # pylint: disable=E0401,E0611
3030
assert MobileNet is not None
31-
except (SyntaxError, ModuleNotFoundError, AttributeError) as e:
31+
except (SyntaxError, ModuleNotFoundError, AttributeError,
32+
ImportError) as e:
3233
warnings.warn(
33-
"tensorflow is probably not available yet on python 3.7: {0}".format(e))
34+
"tensorflow is probably not available yet on python 3.7: "
35+
"{0}".format(e))
3436
return
3537

3638
self.assertTrue(mlinsights is not None)

0 commit comments

Comments
 (0)