Don't fail ASV if Plasma extension is not built (e.g. on Windows)

This commit is contained in:
Wes McKinney committed 2019-01-04 16:08:10 -06:00
1 parent fba4f32001
commit 008ae7b98a
1 file changed
+8 -2
+8 -2
View File
@@ -24,8 +24,14 @@ import sys
import tempfile
import time
from pyarrow._plasma import (ObjectID, ObjectNotAvailable, # noqa
PlasmaBuffer, PlasmaClient, connect)
try:
from pyarrow._plasma import (ObjectID, ObjectNotAvailable, # noqa
PlasmaBuffer, PlasmaClient, connect)
except ImportError:
# TODO(wesm): These are not asv benchmarks, so we can just fail
# silently here
pass
# The Plasma TensorFlow Operator needs to be compiled on the end user's