We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a7d8f1 commit 314012dCopy full SHA for 314012d
pandas/tseries/tests/test_converter.py
@@ -74,7 +74,7 @@ def test_dateindex_conversion(self):
74
for freq in ('B', 'L', 'S'):
75
dateindex = tm.makeDateIndex(k = 10, freq = freq)
76
rs = self.dtc.convert(dateindex, None, None)
77
- xp = converter.dates.date2num(dateindex)
+ xp = converter.dates.date2num(dateindex._mpl_repr())
78
np_assert_almost_equal(rs, xp, decimals)
79
80
def test_resolution(self):
0 commit comments