File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -375,6 +375,8 @@ def _reconstruct_ea_result(
375
375
376
376
elif isinstance (values .dtype , BaseMaskedDtype ):
377
377
new_dtype = self ._get_result_dtype (values .dtype .numpy_dtype )
378
+ # Troubleshooting 32bit build
379
+ assert new_dtype == res_values .dtype , (new_dtype , res_values .dtype )
378
380
# error: Incompatible types in assignment (expression has type
379
381
# "BaseMaskedDtype", variable has type "StringDtype")
380
382
dtype = BaseMaskedDtype .from_numpy_dtype ( # type: ignore[assignment]
@@ -422,6 +424,8 @@ def _masked_ea_wrap_cython_operation(
422
424
)
423
425
424
426
new_dtype = self ._get_result_dtype (orig_values .dtype .numpy_dtype )
427
+ # Troubleshooting 32bit build
428
+ assert new_dtype == res_values .dtype , (new_dtype , res_values .dtype )
425
429
dtype = BaseMaskedDtype .from_numpy_dtype (new_dtype )
426
430
# TODO: avoid cast as res_values *should* already have the right
427
431
# dtype; last attempt ran into trouble on 32bit linux build
You can’t perform that action at this time.
0 commit comments