'Test that TimeDelta can take quantity input.'

def test_valid_quantity_input(self):

    q = (500.25 * u.day)
    dt1 = TimeDelta(q, format='jd')
    assert (dt1.value == q.value)
    dt2 = TimeDelta(q, format='sec')
    assert (dt2.value == q.to_value(u.second))
    dt3 = TimeDelta(q)
    assert (dt3.value == q.value)
