Skip to content

Commit e38a1d0

Browse files
committed
catch import errors
1 parent 08bfe64 commit e38a1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/_mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def get_mask_array_type():
129129
class MaskArray(_MaskArray, ArrowBoolArray):
130130
pass
131131

132-
except ModuleNotFoundError:
132+
except (ModuleNotFoundError, ImportError):
133133
class MaskArray(_MaskArray, NumpyBoolArray):
134134
pass
135135

0 commit comments

Comments
 (0)