Skip to content

Commit

Permalink
Remove pandas 2.1 warnings (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 authored Oct 12, 2023
1 parent 95fa9e8 commit 8221dd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datashader/tests/test_datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,10 +667,6 @@ def test_get(self, data):
result = s.get('Z')
assert result is None

np.testing.assert_array_equal(s.get(4), s.iloc[4])
np.testing.assert_array_equal(s.get(-1), s.iloc[-1])
assert s.get(len(s)) is None

def test_take_sequence(self, data):
result = pd.Series(data)[[0, 1, 3]]
np.testing.assert_array_equal(result.iloc[0], data[0])
Expand Down Expand Up @@ -870,6 +866,10 @@ def test_fillna_limit_backfill(self):
pass

@pytest.mark.skip(reason="Can't fill with nested sequences")
def test_fillna_no_op_returns_copy(self):
pass

@pytest.mark.skip(reason="Can't set array element with a sequence")
def test_fillna_series_method(self):
pass

Expand Down

0 comments on commit 8221dd0

Please sign in to comment.