Skip to content

Commit 6d7b42d

Browse files
committed
Add catch_warnings to conftest.py
1 parent 487f148 commit 6d7b42d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

python/pyarrow/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@
123123
pass
124124

125125
try:
126-
import pyarrow.gandiva # noqa
126+
import warnings
127+
with warnings.catch_warnings():
128+
warnings.simplefilter("ignore", FutureWarning)
129+
import pyarrow.gandiva # noqa
127130
defaults['gandiva'] = True
128131
except ImportError:
129132
pass

0 commit comments

Comments
 (0)