def test_sub_timedate(self):
    'Test subtracting two timestamps.'
    t1 = Timestamp.utcnow()
    t2 = (t1 - datetime.timedelta(days=1))
    td = (t1 - t2)
    self.assertIsInstance(td, datetime.timedelta)
    self.assertEqual((t2 + td), t1)
Test subtracting two timestamps.
def test_sub_timedate(self):
    
    t1 = Timestamp.utcnow()
    t2 = (t1 - datetime.timedelta(days=1))
    td = (t1 - t2)
    self.assertIsInstance(td, datetime.timedelta)
    self.assertEqual((t2 + td), t1)