File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -3768,25 +3768,6 @@ def test_arrow_dtype_itemsize_variable_width(type_name):
37683768 assert dtype .itemsize == dtype .numpy_dtype .itemsize
37693769
37703770
3771- def test_arrow_dtype_error_fallback (monkeypatch ):
3772- # GH 57948
3773-
3774- dtype = ArrowDtype (pa .int32 ())
3775-
3776- class ErrorType :
3777- id = None
3778-
3779- @property
3780- def bit_width (self ):
3781- raise ValueError ("Simulated Error" )
3782-
3783- def to_pandas_dtype (self ):
3784- return pd .Series ([0 ]).dtype
3785-
3786- monkeypatch .setattr (dtype , "pyarrow_dtype" , ErrorType ())
3787- assert dtype .itemsize == dtype .numpy_dtype .itemsize
3788-
3789-
37903771def test_cast_pontwise_result_decimal_nan ():
37913772 # GH#62522 we don't want to get back null[pyarrow] here
37923773 ser = pd .Series ([], dtype = "float64[pyarrow]" )
You can’t perform that action at this time.
0 commit comments