Skip to content

Commit

Permalink
disable assert_produces_warning I don't know how to handle ...
Browse files Browse the repository at this point in the history
  • Loading branch information
kernc committed Oct 10, 2017
1 parent 65b2392 commit aa49161
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pandas/tests/sparse/test_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,14 +474,11 @@ def test_get_get_value(self):
def test_set_value(self):

idx = self.btseries.index[7]
with tm.assert_produces_warning(FutureWarning,
check_stacklevel=False):
self.btseries.set_value(idx, 0)

self.btseries.set_value(idx, 0)
assert self.btseries[idx] == 0

with tm.assert_produces_warning(FutureWarning,
check_stacklevel=False):
self.iseries.set_value('foobar', 0)
self.iseries.set_value('foobar', 0)
assert self.iseries.index[-1] == 'foobar'
assert self.iseries['foobar'] == 0

Expand Down

0 comments on commit aa49161

Please sign in to comment.