Skip to content

Commit 4635e6a

Browse files
committed
compare as index
1 parent a17ddab commit 4635e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tseries/tests/test_converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_dateindex_conversion(self):
105105
dateindex = tm.makeDateIndex(k=10, freq=freq)
106106
rs = self.dtc.convert(dateindex, None, None)
107107
xp = Index(converter.dates.date2num(dateindex._mpl_repr()))
108-
tm.assert_almost_equal(rs, xp, decimals)
108+
tm.assert_index_equal(rs, xp, decimals)
109109

110110
def test_resolution(self):
111111
def _assert_less(ts1, ts2):

0 commit comments

Comments
 (0)