Skip to content

Commit 314012d

Browse files
committed
TST: Fix converter test for MPL1.4
1 parent 3a7d8f1 commit 314012d

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
@@ -74,7 +74,7 @@ def test_dateindex_conversion(self):
7474
for freq in ('B', 'L', 'S'):
7575
dateindex = tm.makeDateIndex(k = 10, freq = freq)
7676
rs = self.dtc.convert(dateindex, None, None)
77-
xp = converter.dates.date2num(dateindex)
77+
xp = converter.dates.date2num(dateindex._mpl_repr())
7878
np_assert_almost_equal(rs, xp, decimals)
7979

8080
def test_resolution(self):

0 commit comments

Comments
 (0)