|
11 | 11 |
|
12 | 12 | from pandas import (Series, DataFrame, bdate_range,
|
13 | 13 | isna, compat, _np_version_under1p12)
|
14 |
| -from pandas.errors import PerformanceWarning |
15 | 14 | from pandas.tseries.offsets import BDay
|
16 | 15 | import pandas.util.testing as tm
|
17 | 16 | import pandas.util._test_decorators as td
|
@@ -484,20 +483,12 @@ def test_get_get_value(self):
|
484 | 483 | tm.assert_almost_equal(
|
485 | 484 | self.bseries.get_value(10), self.bseries[10])
|
486 | 485 |
|
487 |
| - @pytest.mark.single |
488 | 486 | def test_set_value(self):
|
489 |
| - |
490 | 487 | 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) |
| 488 | + self.btseries.set_value(idx, 0) |
495 | 489 | assert self.btseries[idx] == 0
|
496 | 490 |
|
497 |
| - with tm.assert_produces_warning((FutureWarning, |
498 |
| - PerformanceWarning), |
499 |
| - check_stacklevel=False): |
500 |
| - self.iseries.set_value('foobar', 0) |
| 491 | + self.iseries.set_value('foobar', 0) |
501 | 492 | assert self.iseries.index[-1] == 'foobar'
|
502 | 493 | assert self.iseries['foobar'] == 0
|
503 | 494 |
|
|
0 commit comments