File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2113,9 +2113,12 @@ def test_series_string_inference_array_string_dtype(self):
2113
2113
tm .assert_series_equal (ser , expected )
2114
2114
2115
2115
def test_series_string_inference_storage_definition (self ):
2116
- # GH#54793
2116
+ # https://github.com/pandas-dev/pandas/issues/54793
2117
+ # but after PDEP-14 (string dtype), it was decided to keep dtype="string"
2118
+ # returning the NA string dtype, so expected is changed from
2119
+ # "string[pyarrow_numpy]" to "string[pyarrow]"
2117
2120
pytest .importorskip ("pyarrow" )
2118
- expected = Series (["a" , "b" ], dtype = "string[pyarrow_numpy ]" )
2121
+ expected = Series (["a" , "b" ], dtype = "string[pyarrow ]" )
2119
2122
with pd .option_context ("future.infer_string" , True ):
2120
2123
result = Series (["a" , "b" ], dtype = "string" )
2121
2124
tm .assert_series_equal (result , expected )
You can’t perform that action at this time.
0 commit comments