We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e78eb3c commit 860eecfCopy full SHA for 860eecf
tests/test_tensorboard_integration.py
@@ -16,7 +16,7 @@ def tf_logs(tmpdir_factory):
16
try:
17
import tensorflow.compat.v1 as tf
18
tf.disable_v2_behavior()
19
- except ModuleNotFoundError:
+ except ImportError:
20
import tensorflow as tf
21
22
x = np.random.rand(5)
0 commit comments