Home | History | Annotate | Download | only in test

Lines Matching refs:total_seconds

275         self.assertEqual(td.total_seconds(), 31536000.0)
276 for total_seconds in [123456.789012, -123456.789012, 0.123456, 0, 1e6]:
277 td = timedelta(seconds=total_seconds)
278 self.assertEqual(td.total_seconds(), total_seconds)
279 # Issue8644: Test that td.total_seconds() has the same
283 self.assertEqual(td.total_seconds(),