Skip to content

Commit 0925896

Browse files
committed
Update test_LONG_search_images_keras.py
1 parent 710cc16 commit 0925896

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_unittests/ut_search_rank/test_LONG_search_images_keras.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def test_search_predictions_keras(self):
2828
with redirect_stderr(StringIO()):
2929
try:
3030
from keras.applications.mobilenet import MobileNet # pylint: disable=E0401,E0611
31-
except (SyntaxError, ModuleNotFoundError, AttributeError) as e:
31+
except (SyntaxError, ModuleNotFoundError, AttributeError,
32+
ImportError) as e:
3233
warnings.warn(
3334
"Issue with tensorflow or keras: {0}".format(e))
3435
return

0 commit comments

Comments
 (0)