From: sinhrks Date: Mon, 6 Oct 2014 15:53:42 +0000 (+0000) Subject: TST: Fix converter test for MPL1.4 X-Git-Tag: archive/raspbian/0.19.2-5+rpi1~1^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f46c1a253732cdb216cc7a1beb931d1c00755ae4;p=pandas.git TST: Fix converter test for MPL1.4 Gbp-Pq: Name changeset_314012d.diff --- diff --git a/pandas/tseries/tests/test_converter.py b/pandas/tseries/tests/test_converter.py index 902b9cb5..039a5642 100644 --- a/pandas/tseries/tests/test_converter.py +++ b/pandas/tseries/tests/test_converter.py @@ -74,7 +74,7 @@ class TestDateTimeConverter(tm.TestCase): for freq in ('B', 'L', 'S'): dateindex = tm.makeDateIndex(k = 10, freq = freq) rs = self.dtc.convert(dateindex, None, None) - xp = converter.dates.date2num(dateindex) + xp = converter.dates.date2num(dateindex._mpl_repr()) np_assert_almost_equal(rs, xp, decimals) def test_resolution(self):