File tree 1 file changed +2
-10
lines changed
pandas/tests/sparse/series
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -484,20 +484,12 @@ def test_get_get_value(self):
484
484
tm .assert_almost_equal (
485
485
self .bseries .get_value (10 ), self .bseries [10 ])
486
486
487
- @pytest .mark .single
488
487
def test_set_value (self ):
489
-
490
488
idx = self .btseries .index [7 ]
491
- with tm .assert_produces_warning ((FutureWarning ,
492
- PerformanceWarning ),
493
- check_stacklevel = False ):
494
- self .btseries .set_value (idx , 0 )
489
+ self .btseries .set_value (idx , 0 )
495
490
assert self .btseries [idx ] == 0
496
491
497
- with tm .assert_produces_warning ((FutureWarning ,
498
- PerformanceWarning ),
499
- check_stacklevel = False ):
500
- self .iseries .set_value ('foobar' , 0 )
492
+ self .iseries .set_value ('foobar' , 0 )
501
493
assert self .iseries .index [- 1 ] == 'foobar'
502
494
assert self .iseries ['foobar' ] == 0
503
495
You can’t perform that action at this time.
0 commit comments