@@ -244,6 +244,7 @@ def test_cumprod_timedelta(self):
244
244
def test_cumsum_pyarrow_strings (
245
245
self , pyarrow_string_dtype , data , skipna , expected_data
246
246
):
247
+ # https://github.com/pandas-dev/pandas/pull/60633
247
248
ser = pd .Series (data , dtype = pyarrow_string_dtype )
248
249
expected = pd .Series (expected_data , dtype = pyarrow_string_dtype )
249
250
result = ser .cumsum (skipna = skipna )
@@ -277,6 +278,7 @@ def test_cumsum_pyarrow_strings(
277
278
def test_cummin_cummax_pyarrow_strings (
278
279
self , pyarrow_string_dtype , data , op , skipna , expected_data
279
280
):
281
+ # https://github.com/pandas-dev/pandas/pull/60633
280
282
ser = pd .Series (data , dtype = pyarrow_string_dtype )
281
283
if expected_data is None :
282
284
expected_data = ser .dtype .na_value
@@ -286,6 +288,7 @@ def test_cummin_cummax_pyarrow_strings(
286
288
tm .assert_series_equal (result , expected )
287
289
288
290
def test_cumprod_pyarrow_strings (self , pyarrow_string_dtype , skipna ):
291
+ # https://github.com/pandas-dev/pandas/pull/60633
289
292
ser = pd .Series (list ("xyz" ), dtype = pyarrow_string_dtype )
290
293
msg = f"operation 'cumprod' not supported for dtype '{ ser .dtype } '"
291
294
with pytest .raises (TypeError , match = msg ):
0 commit comments