File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 110110if using_string_dtype ():
111111 STRING_DTYPES : list [Dtype ] = [str , "U" ]
112112else :
113- STRING_DTYPES : list [Dtype ] = [str , "str" , "U" ]
113+ STRING_DTYPES : list [Dtype ] = [str , "str" , "U" ] # type: ignore[no-redef]
114114COMPLEX_FLOAT_DTYPES : list [Dtype ] = [* COMPLEX_DTYPES , * FLOAT_NUMPY_DTYPES ]
115115
116116DATETIME64_DTYPES : list [Dtype ] = ["datetime64[ns]" , "M8[ns]" ]
Original file line number Diff line number Diff line change @@ -802,6 +802,8 @@ def test_pandas_dtype_ea_not_instance():
802802
803803
804804def test_pandas_dtype_string_dtypes (string_storage ):
805+ # TODO(infer_string) remove skip if "python" is supported
806+ pytest .importorskip ("pyarrow" )
805807 with pd .option_context ("future.infer_string" , True ):
806808 with pd .option_context ("string_storage" , string_storage ):
807809 result = pandas_dtype ("str" )
You can’t perform that action at this time.
0 commit comments