Skip to content

Commit 90afdee

Browse files
committed
maybe?
1 parent 2e00630 commit 90afdee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.24.0.rst

-1
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,6 @@ Datetimelike API Changes
12351235
- :class:`PeriodIndex` subtraction of another ``PeriodIndex`` will now return an object-dtype :class:`Index` of :class:`DateOffset` objects instead of raising a ``TypeError`` (:issue:`20049`)
12361236
- :func:`cut` and :func:`qcut` now returns a :class:`DatetimeIndex` or :class:`TimedeltaIndex` bins when the input is datetime or timedelta dtype respectively and ``retbins=True`` (:issue:`19891`)
12371237
- :meth:`DatetimeIndex.to_period` and :meth:`Timestamp.to_period` will issue a warning when timezone information will be lost (:issue:`21333`)
1238-
- :class:`DatetimeIndex` now accepts :class:`Int64Index` arguments as epoch timestamps (:issue:`20997`)
12391238
- :meth:`PeriodIndex.tz_convert` and :meth:`PeriodIndex.tz_localize` have been removed (:issue:`21781`)
12401239

12411240
.. _whatsnew_0240.api.other:

pandas/tests/generic/test_frame.py

+2
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def test_set_attribute(self):
183183
'StringIndex', 'UnicodeIndex',
184184
'DateIndex', 'PeriodIndex',
185185
'CategoricalIndex', 'TimedeltaIndex'])
186+
@pytest.mark.filterwarnings("ignore") # TODO: Remove. GH-24716
186187
def test_to_xarray_index_types(self, index):
187188
from xarray import Dataset
188189

@@ -221,6 +222,7 @@ def test_to_xarray_index_types(self, index):
221222
check_index_type=False, check_categorical=False)
222223

223224
@td.skip_if_no('xarray', min_version='0.7.0')
225+
@pytest.mark.filterwarnings("ignore") # TODO: Remove. GH-24716
224226
def test_to_xarray(self):
225227
from xarray import Dataset
226228

0 commit comments

Comments
 (0)