@@ -165,8 +165,8 @@ def test_add(dtype):
165
165
tm .assert_series_equal (result , expected )
166
166
167
167
168
- def test_add_2d (dtype , request , arrow_string_storage ):
169
- if dtype .storage in arrow_string_storage :
168
+ def test_add_2d (dtype , request ):
169
+ if dtype .storage == "pyarrow" :
170
170
reason = "Failed: DID NOT RAISE <class 'ValueError'>"
171
171
mark = pytest .mark .xfail (raises = None , reason = reason )
172
172
request .applymarker (mark )
@@ -464,8 +464,8 @@ def test_min_max(method, skipna, dtype):
464
464
465
465
@pytest .mark .parametrize ("method" , ["min" , "max" ])
466
466
@pytest .mark .parametrize ("box" , [pd .Series , pd .array ])
467
- def test_min_max_numpy (method , box , dtype , request , arrow_string_storage ):
468
- if dtype .storage in arrow_string_storage and box is pd .array :
467
+ def test_min_max_numpy (method , box , dtype , request ):
468
+ if dtype .storage == "pyarrow" and box is pd .array :
469
469
if box is pd .array :
470
470
reason = "'<=' not supported between instances of 'str' and 'NoneType'"
471
471
else :
@@ -479,7 +479,7 @@ def test_min_max_numpy(method, box, dtype, request, arrow_string_storage):
479
479
assert result == expected
480
480
481
481
482
- def test_fillna_args (dtype , arrow_string_storage ):
482
+ def test_fillna_args (dtype ):
483
483
# GH 37987
484
484
485
485
arr = pd .array (["a" , pd .NA ], dtype = dtype )
@@ -492,7 +492,7 @@ def test_fillna_args(dtype, arrow_string_storage):
492
492
expected = pd .array (["a" , "b" ], dtype = dtype )
493
493
tm .assert_extension_array_equal (res , expected )
494
494
495
- if dtype .storage in arrow_string_storage :
495
+ if dtype .storage == "pyarrow" :
496
496
msg = "Invalid value '1' for dtype string"
497
497
else :
498
498
msg = "Cannot set non-string value '1' into a StringArray."
@@ -643,10 +643,10 @@ def test_value_counts_sort_false(dtype):
643
643
tm .assert_series_equal (result , expected )
644
644
645
645
646
- def test_memory_usage (dtype , arrow_string_storage ):
646
+ def test_memory_usage (dtype ):
647
647
# GH 33963
648
648
649
- if dtype .storage in arrow_string_storage :
649
+ if dtype .storage == "pyarrow" :
650
650
pytest .skip (f"not applicable for { dtype .storage } " )
651
651
652
652
series = pd .Series (["a" , "b" , "c" ], dtype = dtype )
0 commit comments