@@ -216,7 +216,13 @@ def test_set_index():
216
216
assert_eq (b [0 ], df .set_index (df .y + 1 ))
217
217
218
218
219
- def test_binary_stream_operators (stream ):
219
+ def test_binary_stream_operators (request , stream ):
220
+ request .applymarker (
221
+ pytest .mark .xfail (
222
+ isinstance (stream , DaskStream ),
223
+ reason = "https://github.com/dask/distributed/issues/8953" ,
224
+ )
225
+ )
220
226
df = cudf .DataFrame ({"x" : [1 , 2 , 3 ], "y" : [4 , 5 , 6 ]})
221
227
222
228
expected = df .x + df .y
@@ -242,7 +248,13 @@ def test_index(stream):
242
248
assert_eq (L [1 ], df .index + 5 )
243
249
244
250
245
- def test_pair_arithmetic (stream ):
251
+ def test_pair_arithmetic (request , stream ):
252
+ request .applymarker (
253
+ pytest .mark .xfail (
254
+ isinstance (stream , DaskStream ),
255
+ reason = "https://github.com/dask/distributed/issues/8953" ,
256
+ )
257
+ )
246
258
df = cudf .DataFrame ({"x" : list (range (10 )), "y" : [1 ] * 10 })
247
259
248
260
a = DataFrame (example = df .iloc [:0 ], stream = stream )
@@ -255,7 +267,13 @@ def test_pair_arithmetic(stream):
255
267
assert_eq (cudf .concat (L ), (df .x + df .y ) * 2 )
256
268
257
269
258
- def test_getitem (stream ):
270
+ def test_getitem (request , stream ):
271
+ request .applymarker (
272
+ pytest .mark .xfail (
273
+ isinstance (stream , DaskStream ),
274
+ reason = "https://github.com/dask/distributed/issues/8953" ,
275
+ )
276
+ )
259
277
df = cudf .DataFrame ({"x" : list (range (10 )), "y" : [1 ] * 10 })
260
278
261
279
a = DataFrame (example = df .iloc [:0 ], stream = stream )
@@ -332,7 +350,13 @@ def test_repr_html(stream):
332
350
assert "1" in html
333
351
334
352
335
- def test_setitem (stream ):
353
+ def test_setitem (request , stream ):
354
+ request .applymarker (
355
+ pytest .mark .xfail (
356
+ isinstance (stream , DaskStream ),
357
+ reason = "https://github.com/dask/distributed/issues/8953" ,
358
+ )
359
+ )
336
360
df = cudf .DataFrame ({"x" : list (range (10 )), "y" : [1 ] * 10 })
337
361
338
362
sdf = DataFrame (example = df .iloc [:0 ], stream = stream )
@@ -356,7 +380,13 @@ def test_setitem(stream):
356
380
assert_eq (L [- 1 ], df .mean ())
357
381
358
382
359
- def test_setitem_overwrites (stream ):
383
+ def test_setitem_overwrites (request , stream ):
384
+ request .applymarker (
385
+ pytest .mark .xfail (
386
+ isinstance (stream , DaskStream ),
387
+ reason = "https://github.com/dask/distributed/issues/8953" ,
388
+ )
389
+ )
360
390
df = cudf .DataFrame ({"x" : list (range (10 ))})
361
391
sdf = DataFrame (example = df .iloc [:0 ], stream = stream )
362
392
stream = sdf .stream
@@ -413,8 +443,14 @@ def test_setitem_overwrites(stream):
413
443
],
414
444
)
415
445
def test_rolling_count_aggregations (
416
- op , window , m , pre_get , post_get , kwargs , stream
446
+ request , op , window , m , pre_get , post_get , kwargs , stream
417
447
):
448
+ request .applymarker (
449
+ pytest .mark .xfail (
450
+ isinstance (stream , DaskStream ) and len (kwargs ) == 0 ,
451
+ reason = "https://github.com/dask/distributed/issues/8953" ,
452
+ )
453
+ )
418
454
index = pd .DatetimeIndex (
419
455
pd .date_range ("2000-01-01" , "2000-01-03" , freq = "1h" )
420
456
)
@@ -808,7 +844,13 @@ def test_reductions_with_start_state(stream):
808
844
assert output2 [0 ] == 360
809
845
810
846
811
- def test_rolling_aggs_with_start_state (stream ):
847
+ def test_rolling_aggs_with_start_state (request , stream ):
848
+ request .applymarker (
849
+ pytest .mark .xfail (
850
+ isinstance (stream , DaskStream ),
851
+ reason = "https://github.com/dask/distributed/issues/8953" ,
852
+ )
853
+ )
812
854
example = cudf .DataFrame ({"name" : [], "amount" : []}, dtype = "float64" )
813
855
sdf = DataFrame (stream , example = example )
814
856
output0 = (
0 commit comments