

def test_timedeltas(self):
    for i in [datetime.timedelta(days=1), datetime.timedelta(days=1, seconds=10), np.timedelta64(1000000)]:
        i_rec = self.encode_decode(i)
        self.assertEqual(i, i_rec)

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestBasic.test_timedeltas/original